Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Fedor  
#1 Posted : Sunday, November 26, 2006 10:20:00 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
This article describes why thumbnails for some JPEG images may be too dark if they are rendered with Java version of Image Uploader.

Overview

When Java version of Image Uploader is used to upload JPEG files, under certain conditions the generated thumbnails will be way too dark, as on the picture below.

UserPostedImage
Thumbnail generated with Image Uploader

UserPostedImage
Normal thumbnail

How to Reproduce

This problem occurs only in Java version of Image Uploader with JPEG files created with Nikon cameras which have the ICC profile "Nikon sRGB 4.0.0.3001." under the following conditions:
  1. Thumbnail size larger than EXIF thumbnails (typically 160 pixels).
  2. Thumbnail resize quality is Medium.
Reason

When Medium quality is used, Image Uploader uses the Java ImageIO library to read the image. Due a bug in this library, it reads JPEG files created with Nikon cameras which have the ICC profile "Nikon sRGB 4.0.0.3001." incorrectly.

For more details see bug 6372769 in the Java bug database.

Solution

Currently the only solution of this problem is to set the resize quality to High:

Code:
iu.addParam("PreviewThumbnailResizeQuality", "High");


This bug should be fixed by Java developers in the next release of the Java platform.

Notes

This problem does not concern neither ActiveX version of Image Uploader, nor any JPEG files with ICC profiles different from "Nikon sRGB 4.0.0.3001."
Best regards,
Fedor Skvortsov
jps26401  
#2 Posted : Tuesday, October 14, 2008 4:33:34 PM(UTC)
jps26401

Rank: Member

Groups: Member
Joined: 3/20/2007(UTC)
Posts: 21

Hello,
we have the same problem also with ActiveX version.

We use 4,7,16,0 version.

PETER
Dmitry  
#3 Posted : Thursday, October 23, 2008 2:08:20 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
jps26401 wrote:

we have the same problem also with ActiveX version.
We use 4,7,16,0 version.


Hello Peter,

Could you post a case and attach this image there?
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
lucl2000  
#4 Posted : Monday, August 31, 2009 12:18:05 AM(UTC)
lucl2000

Rank: Member

Groups: Member
Joined: 3/28/2007(UTC)
Posts: 3

One of our users reported this issue this past week. All of his thumbnails appear darkened.

We're using Version 6.0 Feb 21, 2009 and the problem only occurs when uploading on a Mac (10.4 in test). It happens in both Safari 4 and Firefox 3.5.

Stripping the EXIF data from the jpg before uploading seems to resolve the issue but this should be addressed properly in an update.

We haven't tried the high quality thumb fix mentioned above.

I'll open a case and send a sample image.
Dmitry  
#5 Posted : Monday, August 31, 2009 11:28:23 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

We confirm, the problem still exists. Actually this is issue in JRE implementation on Mac. Nevertheless we realize that it is important problem because photos made by Nikon cameras are not handled by Image Uploader correctly on Mac computers. We will try to find a solution till the next minor release.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.