Re: drawImage returns false for Microsoft Java
- From: Thomas Fritsch <i.dont.like.spam@xxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 10:56:43 GMT
igorkhalatian@xxxxxxxxxxx write:
Read the javadoc of class java.net.ContentHandler, how you can extend the set of supported image formats. It involves developing a ContentHandler for the MIME-type "image/png".Thank you for replying. You are correct. It is JAVA 1.1 but documentation is very vague on this one something like "supported format such as GIF or JPEG" so I was wondering if PNG was there. Do you actually know if there is a list of supported formats for 1.1 to put this issue to rest?
And more importantly if I have bytes containing PNG image and a have to get them displayed under java 1.1 what are my options?
To get the built-in set of supported image formats, look into the main zip/jar file(s) of your Java runtime and see what class files are in package "sun.net.www.content.image". In Java 1.4 I find:
gif, jpeg, png, x_bitmap, x_pixmap.
In Java 1.1 there are probably less than those.
--
"Thomas:Fritsch$ops:de".replace(':','.').replace('$','@').
- Follow-Ups:
- Re: drawImage returns false for Microsoft Java
- From: igorkhalatian
- Re: drawImage returns false for Microsoft Java
- References:
- drawImage returns false for Microsoft Java
- From: igorkhalatian
- Re: drawImage returns false for Microsoft Java
- From: Thomas Fritsch
- Re: drawImage returns false for Microsoft Java
- From: igorkhalatian
- drawImage returns false for Microsoft Java
- Prev by Date: Re: Centering widgets?
- Next by Date: Re: drawImage returns false for Microsoft Java
- Previous by thread: Re: drawImage returns false for Microsoft Java
- Next by thread: Re: drawImage returns false for Microsoft Java
- Index(es):
Relevant Pages
|