Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6193432
Votes 1
Synopsis Support PNG files (including alpha-channel support) for icons
Category javawebstart:jnlp_file
Reported Against
Release Fixed mustang(b24)
State 10-Fix Delivered, request for enhancement
Priority: 4-Low
Related Bugs
Submit Date 10-NOV-2004
Description
A DESCRIPTION OF THE REQUEST :
Currently, the JNLP spec allows icons referenced from the JNLP file to be either GIFs or JPGs. These two formats have various issues associated with them in terms of patents and support for alpha-channel transparency. For example, GIF single bit transparency results in ugly jagged icons when transformed to .ico format on Windows.

IMO, it would make sense to support PNG files in addition to these formats, including alpha-channel support for PNG-24 format files when converting to native icon-formats.

JUSTIFICATION :
GIF and JPG have limitations in terms of patents and possibilities. PNG does not and is becoming more and more common (in fact, we endeavour to use PNG to the exclusion of other formats).

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I'd like to be able to use PNG files as icon resources referenced from a JNLP file.
ACTUAL -
At the time, I can now only use GIF and JPG files.
  xxxxx@xxxxx   2004-11-10 17:30:32 GMT
Work Around
N/A
Evaluation
The 1.5.0 jnlp specification was modified to allow formats other than gif and jpeg for the icon elements in the descriptoy.
In mustang we should allow png format for all icons, and specifically for the case on windows platform where kind="shortcut", allow ico format.
This is part of the Mustang feature "Desktop Integration Improvements"
  xxxxx@xxxxx   2004-12-06 15:29:56 GMT

Note also - when PNG file used as Icon in shortcut on Gnome, use it directly (without translating to other format)
  xxxxx@xxxxx   2005-1-20 17:04:32 GMT
Comments
  
  Include a link with my name & email   

Submitted On 17-FEB-2005
Herko_ter_Horst
Excellent, thanks for fixing this. Will this fix be backported to a future 1.5.x release?


Submitted On 17-FEB-2005
Herko_ter_Horst
Why is my e-mail address made public when I did NOT check the checkbox?


Submitted On 20-FEB-2005
ScottWPalmwe
Will this allow full 128x128 32-bit  Icons for Mac OS X?



PLEASE NOTE: JDK6 is formerly known as Project Mustang