Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Gloria351

3 Comments

Sorted by latest first Latest Oldest Best

 

@Cugini998

FreeVImager can do this with nice GUI.



It also can do lossless rotation of JPEGs (90 deg rotations are loseless).
It's FOSS, so if you're on Linux, it's worth getting Wine for one.

10% popularity Vote Up Vote Down


 

@Cofer715

Lossless cropping of a JPEG image is possible using the
"jpegtran" application that comes with libjpeg; see en.wikipedia.org/wiki/Libjpeg.
Quoting from "man jpegtran" on a system where jpegtran is installed:


.. lossless crop is restricted by the current JPEG format: the upper
left corner of the selected region must fall on an iMCU [8 or 16]
boundary. If this does not hold for the given crop parameters, we
silently move the upper left corner up and/or left to make it so,
simultaneously increasing the region dimensions to keep the lower
right crop corner unchanged. (Thus, the output image covers at
least the requested region, but may cover more.)


With other image-editing software you can minimize the loss by ensuring that the cropped area has dimensions that are multiples of 8 and is located with offsets being some multiple of 8 (or 16, if the colors were subsampled) from the upper lefthand corner of the original image, and that the compression "quality" is the same as that of the original image.

10% popularity Vote Up Vote Down


 

@Radia289

If you are using Photoshop® then I don't believe that the image compresses when it crops. The compression happens when you resave the document as a JPG. It is always best to start with the highest lossless uncompressed image format you can such as .NEF, .BMP... others (?) As the saying goes, poop in poop out.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme