Author Topic: Save As creating some images that can't be rendered  (Read 7392 times)

Offline dsmccormick

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Save As creating some images that can't be rendered
« on: March 30, 2010, 06:48:42 PM »
I'm on Mac OS X 10.6.3 Snow Leopard. When I do some Save As operations where I do some image resizing (in this case, 33%, with and without sharpening), some of the images ended up undisplayable ("Image cannot be rendered"). This has happened on both PM 4.6.3 and 4.6.4 beta 1.

Anyone seen this before?

Thanks, David

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Save As creating some images that can't be rendered
« Reply #1 on: March 30, 2010, 07:18:23 PM »
David,

I'm on Mac OS X 10.6.3 Snow Leopard. When I do some Save As operations where I do some image resizing (in this case, 33%, with and without sharpening), some of the images ended up undisplayable ("Image cannot be rendered"). This has happened on both PM 4.6.3 and 4.6.4 beta 1.

What kind of images are the source images?  What kind of image are you saving as?  Can you reproduce this issue with a single image being saved?

-Kirk

Offline dsmccormick

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Re: Save As creating some images that can't be rendered
« Reply #2 on: March 30, 2010, 08:00:35 PM »
It is happening with JPEG to JPEG. It seems to be the same files each time. Doesn't matter if I use crop or sharpen.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Save As creating some images that can't be rendered
« Reply #3 on: March 30, 2010, 09:21:44 PM »
It is happening with JPEG to JPEG. It seems to be the same files each time. Doesn't matter if I use crop or sharpen.

Can you post a screenshot of your Save As dialog settings, and one of your JPEGs so we can try and reproduce the issue?

Use the 'Additional Options...' link when you're composing your reply in order to upload your screenshot and sample image.

Thanks,

-Kirk

Offline dsmccormick

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Re: Save As creating some images that can't be rendered
« Reply #4 on: March 31, 2010, 03:07:12 AM »
here's the screen capture.

[attachment deleted by admin]

Offline dsmccormick

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Re: Save As creating some images that can't be rendered
« Reply #5 on: March 31, 2010, 03:07:46 AM »
here's one of the images that don't save properly

Offline dsmccormick

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Re: Save As creating some images that can't be rendered
« Reply #6 on: March 31, 2010, 03:17:31 AM »
I keep getting messages saying my file is too big to upload (6-8MB). Can you provide an alternative place to put an image?

Thanks, David.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Save As creating some images that can't be rendered
« Reply #7 on: March 31, 2010, 07:04:02 AM »
David,

I keep getting messages saying my file is too big to upload (6-8MB). Can you provide an alternative place to put an image?

I'm sending you a personal message with the upload details.

-Kirk

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Save As creating some images that can't be rendered
« Reply #8 on: April 02, 2010, 06:09:02 PM »
David,

I'm on Mac OS X 10.6.3 Snow Leopard. When I do some Save As operations where I do some image resizing (in this case, 33%, with and without sharpening), some of the images ended up undisplayable ("Image cannot be rendered"). This has happened on both PM 4.6.3 and 4.6.4 beta 1.

The sample image you sent me was saved out of DxO and unfortunately has the EXIF thumbnail size written as over 400MB which is invalid since no chunk (besides the main JPEG image data) is allowed to exceed 64KB.  We have added some code to detect this issue (it looks like they're writing the size out in Intel format instead of Motorola format which is likely the root cause of the problem) and work around it.  Currently if you just tell the Save As dialog not to preserve EXIF information the image will be written without the bogus EXIF data and should render fine in all applications that support the JPEG format.

The next version of Photo Mechanic will have this safeguard code added to it.

Thanks for the sample image.

-Kirk

Offline dsmccormick

  • Newcomer
  • *
  • Posts: 27
    • View Profile
Re: Save As creating some images that can't be rendered
« Reply #9 on: April 02, 2010, 07:20:38 PM »
Kirk: thank you so much for chasing this problem to ground. I'm sorry that it's DXO's fault. I was able to use your workaround successfully. Cheers, David.

Offline Hayo Baan

  • Uber Member
  • ******
  • Posts: 2552
  • Professional Photographer & Software Developer
    • View Profile
    • Hayo Baan - Photography
Re: Save As creating some images that can't be rendered
« Reply #10 on: April 03, 2010, 12:19:00 PM »
Hmm, for such an advanced program they seem to have quite a backward approach to meta data as this and other problems suggest.  Weird...

Cheers,
    Hayo
Hayo Baan - Photography
Web: www.hayobaan.nl