Page 1 of 1

Lossless JPEG cropping doesn't change date/time stamp

Posted: Sat Jul 12, 2008 1:45 pm
by XnTriq
XnView v1.93.6 / Windows 2000:
  • Tools » Options...
    • General » File Operations
      • [ ] Keep date/time for saving
      Browser » Misc. » Rotation
      • [ ] Keep original date/time attributes

Re: Lossless JPEG cropping doesn't change date/time stamp

Posted: Tue Jul 15, 2008 12:04 pm
by xnview
Right

Posted: Wed Jul 16, 2008 3:25 am
by XnTriq
Fixed in v1.94 RC1 :)

Posted: Mon Jul 21, 2008 11:55 pm
by XnTriq
  1. Download dc0a73e8e6.jpg (as provided by Karl02) to a temporary folder near you.
  2. Start XnView and navigate to that folder.
  3. Go to Tools » Options...:
    • [ ] Keep date/time for saving (General » File Operations)
      [ ] Keep original date/time attributes (Browser » Misc. » Rotation)
      [x] Use Embedded thumbnail (Browser » Thumbnails » Appearance)
  4. Select the thumbnail of dc0a73e8e6.jpg and go to Tools » JPEG Lossless transformations » Flip Vertical:
    • :bug: The image and its embedded EXIF thumbnail are updated, but the date/time stamp stays the same.
  5. Open dc0a73e8e6.jpg and go to Edit » Set Selection size » 8x6.
  6. Then go to Tools » JPEG Lossless transformations » Crop.
  7. Back in Browser mode, you'll notice that the date/time stamp has been updated, but not the embedded EXIF thumbnail.
  8. Select the thumbnail and go to Edit » Metadata » Recreate EXIF thumbnail.
    • :bug: If you try to open dc0a73e8e6.jpg again, you'll notice that it is kaput.

Posted: Thu Jul 24, 2008 6:55 am
by xnview
XnTriq wrote:
  1. Download dc0a73e8e6.jpg (as provided by Karl02) to a temporary folder near you.
The link doesn't work :-( Seems to be a severe bug!

Posted: Thu Jul 24, 2008 8:10 pm
by XnTriq
xnview wrote:The link doesn't work :-(
I've uploaded the image to a different host:
  • Image
dc0a73e8e6.jpg@freeimagehosting.net = xf3sqo.jpg@tinypic.com

Posted: Sat Jul 26, 2008 12:00 pm
by XnTriq
The results of my tests with v1.94.1:
  • Browser mode: Tools » JPEG Lossless transformations
    • Image Rotate 90° left
      Image Rotate 90° right
      Image Rotate 180°
      Image Rotate based on EXIF value
      Image Flip Vertical
      Image Flip Horizontal
    View mode: Tools » JPEG Lossless transformations
    • Image Rotate 90° left
      Image Rotate 90° right
      Image Rotate 180°
      Image Rotate based on EXIF value
      Image Flip Vertical
      Image Flip Horizontal
      Image Crop
Both Keep date/time for saving and Keep original date/time attributes were deactivated.
  • Image User settings are respected = Date/time stamp is updated
    Image User settings are not respected = Date/time stamp is not updated
Another related bug in v1.93.6 has been fixed in v1.94: Running the Clean Metadata command (Browser Mode: Edit » Metadata » Clean...) on a JPEG image resulted in the file having an invalid data/time stamp (01.01.1601 01:00).