Welcome Guest Search | Active Topics | Members

PRB: Thumbnails for Some JPEG Files Are Too Dark (Image Uploader for Java) Options
Fedor
Posted: Sunday, November 26, 2006 6:20:00 PM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,254
Points: -345
Location: WA, US
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.


Thumbnail generated with Image Uploader


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
Posted: Wednesday, October 15, 2008 12:33:34 AM
Rank: Member
Groups: Member

Joined: 3/21/2007
Posts: 21
Points: 6
Hello,
we have the same problem also with ActiveX version.

We use 4,7,16,0 version.

PETER
Dmitry
Posted: Thursday, October 23, 2008 10:08:20 PM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 586
Points: 588
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.
Users browsing this topic
Guest


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.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.