Calipers: The Fastest Way to Measure Image Dimensions in Node
1–9 of 9 posts
Re: Calipers: The Fastest Way to Measure Image Dimensions in Node
#2which has sync and async methods, supports more image types, but doesnt let you measure pdfs (which requires an external lib here).
Re: Calipers: The Fastest Way to Measure Image Dimensions in Node
#3The article mentions "ImageMagick is slow because it does a lot more than just extract image size". So we implemented a complete new solution.
How about: "We added to ImageMagick a new command to just extract image size". So we published a small patch to Imagemagick, and got it done much faster than creating a complete new tool. On top of that, reusing tested Imagemagick data structure would probably reduce a lot maintenance cost.
Maybe I did not see some subtleties ?
Re: Calipers: The Fastest Way to Measure Image Dimensions in Node
#4Maybe I missed something on the methodology, but I have a question regarding justification of designing a complete new tool. The article mentions "ImageMagick is slow because it does a lot more than just extract image size". So we implemented a complete new solution. How about: "We added to ImageMagick a new command to just extract image size". So we published a small patch to Imagemagick, and got it done much faster…
Re: Calipers: The Fastest Way to Measure Image Dimensions in Node
#5Maybe I missed something on the methodology, but I have a question regarding justification of designing a complete new tool. The article mentions "ImageMagick is slow because it does a lot more than just extract image size". So we implemented a complete new solution. How about: "We added to ImageMagick a new command to just extract image size". So we published a small patch to Imagemagick, and got it done much faster…
Re: Calipers: The Fastest Way to Measure Image Dimensions in Node
#6Maybe I missed something on the methodology, but I have a question regarding justification of designing a complete new tool. The article mentions "ImageMagick is slow because it does a lot more than just extract image size". So we implemented a complete new solution. How about: "We added to ImageMagick a new command to just extract image size". So we published a small patch to Imagemagick, and got it done much faster…
this is written entirely in javascript. If all you need is to get an image size, then installing imagemagick is overkill
Re: Calipers: The Fastest Way to Measure Image Dimensions in Node
#7Re: Calipers: The Fastest Way to Measure Image Dimensions in Node
#8Re: Calipers: The Fastest Way to Measure Image Dimensions in Node
#9Maybe I missed something on the methodology, but I have a question regarding justification of designing a complete new tool. The article mentions "ImageMagick is slow because it does a lot more than just extract image size". So we implemented a complete new solution. How about: "We added to ImageMagick a new command to just extract image size". So we published a small patch to Imagemagick, and got it done much faster…
The overhead of shell calls in Node was a big reason why we avoided trying to patch ImageMagick or other command line program.