RSS/Atom feed Twitter
Site is read-only, email is disabled

JPEG lossless operations?

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

7 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

JPEG lossless operations? gfxuser 27 May 18:26
  JPEG lossless operations? Ofnuts 27 May 19:05
   JPEG lossless operations? Nicolas Robidoux 27 May 19:28
   JPEG lossless operations? gfxuser 27 May 19:31
    JPEG lossless operations? Bruce 30 May 15:55
     JPEG lossless operations? Ofnuts 30 May 23:04
      JPEG lossless operations? Liam R E Quin 30 May 23:18
gfxuser
2012-05-27 18:26:45 UTC (over 12 years ago)

JPEG lossless operations?

Hi,

reading some of the JPEG related articles here I wondered whether GIMP or GEGL can do lossless rotation and cropping on JPEG images. Can you tell me more about it?

Thanks, grafxuser

Ofnuts
2012-05-27 19:05:28 UTC (over 12 years ago)

JPEG lossless operations?

On 05/27/2012 08:26 PM, gfxuser wrote:

Hi,

reading some of the JPEG related articles here I wondered whether GIMP or GEGL can do lossless rotation and cropping on JPEG images. Can you tell me more about it?

Thanks, grafxuser

For rotation, that would only work on images with dimensions that are a multiple of 8. For cropping, that only works if you crop on 8-pixel boundaries from the origin corner.

Otherwise, this also assumes that JPEG is an "editable format", while the recent kerfuffle around the Export function has demonstrated that it is not, in the current vision.

Nicolas Robidoux
2012-05-27 19:28:36 UTC (over 12 years ago)

JPEG lossless operations?

For a non GIMP solution (with severe constraints on the rotation and cropping parameters, as is pretty much unavoidable): http://jpegclub.org/

gfxuser
2012-05-27 19:31:15 UTC (over 12 years ago)

JPEG lossless operations?

Ofnuts wrote:

On 05/27/2012 08:26 PM, gfxuser wrote:

Hi,

reading some of the JPEG related articles here I wondered whether GIMP or GEGL can do lossless rotation and cropping on JPEG images. Can you tell me more about it?

Thanks, grafxuser

For rotation, that would only work on images with dimensions that are a multiple of 8. For cropping, that only works if you crop on 8-pixel boundaries from the origin corner.

Otherwise, this also assumes that JPEG is an "editable format", while the recent kerfuffle around the Export function has demonstrated that it is not, in the current vision.

Thanks, Ofnuts.
Yes, 'Export vs. Save' was a long discussion and I don't want to boost it again. Although it takes a little getting used to I can live with the new behaviour. Despite of that I sometimes wondered in the past whether GIMP will introduce new compression artifacts if I rotated or cropped an existing JPEG image (yes, there are some cameras where saving in JPEG of sufficient quality is the best choice. Shall we not use them anymore?).

Best regards,

grafxuser

Bruce
2012-05-30 15:55:36 UTC (over 12 years ago)

JPEG lossless operations?

I've read that Picasa (Google's program) might be able to perform lossless rotations, but I'm just going by what I've read. (Source
)

Apparently there are ways to test if the tool you use makes use of lossless rotation. This page lists some:
http://www.impulseadventure.com/photo/lossless-rotation-test.html

This page also has a nice explanation of lossless rotation and its finer nuances:
http://www.betterjpeg.com/lossless-rotation.htm

From what I've learned so far, I think in the end you just have to relax about all this stuff and not worry about it too much, though it does help to know what's happening when you do certain things (such as rotate a jpeg).

On Mon, May 28, 2012 at 5:31 AM, gfxuser wrote:

Ofnuts wrote:

On 05/27/2012 08:26 PM, gfxuser wrote:

Hi,

reading some of the JPEG related articles here I wondered whether GIMP or GEGL can do lossless rotation and cropping on JPEG images. Can you tell me more about it?

Thanks,
grafxuser

For rotation, that would only work on images with dimensions that are a multiple of 8. For cropping, that only works if you crop on 8-pixel boundaries from the origin corner.

Otherwise, this also assumes that JPEG is an "editable format", while the recent kerfuffle around the Export function has demonstrated that it is not, in the current vision.

Thanks, Ofnuts.

Yes, 'Export vs. Save' was a long discussion and I don't want to boost it again. Although it takes a little getting used to I can live with the new behaviour. Despite of that I sometimes wondered in the past whether GIMP will introduce new compression artifacts if I rotated or cropped an existing JPEG image (yes, there are some cameras where saving in JPEG of sufficient quality is the best choice. Shall we not use them anymore?).

Best regards,

grafxuser

______________________________**_________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/**mailman/listinfo/gimp-**developer-list

Ofnuts
2012-05-30 23:04:26 UTC (over 12 years ago)

JPEG lossless operations?

On 05/30/2012 05:55 PM, Bruce wrote:

I've read that Picasa (Google's program) might be able to perform lossless rotations, but I'm just going by what I've read. (Source )

Apparently there are ways to test if the tool you use makes use of lossless rotation. This page lists some: http://www.impulseadventure.com/photo/lossless-rotation-test.html

This page also has a nice explanation of lossless rotation and its finer nuances:
http://www.betterjpeg.com/lossless-rotation.htm

From what I've learned so far, I think in the end you just have to relax about all this stuff and not worry about it too much, though it does help to know what's happening when you do certain things (such as rotate a jpeg).

The best (and fastest....) way to rotate a JPEG is to change its orientation flag...

Liam R E Quin
2012-05-30 23:18:23 UTC (over 12 years ago)

JPEG lossless operations?

On Thu, 2012-05-31 at 01:04 +0200, Ofnuts wrote:

The best (and fastest....) way to rotate a JPEG is to change its orientation flag...

Not all programs honour the orientation flag.

Windows Explorer's thumbnails used to be an example, don't know if that's still true in Windows 7.

Liam