-
Bug
-
Resolution: Fixed
-
P2
-
1.1.2
-
None
-
b01
-
sparc
-
solaris_2.5.1
-
Not verified
I have an application which simply renders an image in a Canvas. I've added
a button to initiate a print request as well. Gif images work as expected in
that the postscript generated from the print request contains the actual image.
However, jpeg images don't print for some reason. I tried calling printAll()
on the Canvas as well as rendering the image myself with a PrintGraphics object.
Neither works.
I've attached the program. Compile *.java and then 'run img'.
I've attached 2 images, Shark_bait.gif which works, and Shark_bait.jpg which
doesn't (I used xv to convert the gif to jpg). The app is currently using the
jpeg image. Change the image name in img.java to use the .gif file.
I've tried several different jpg files without any luck.
a button to initiate a print request as well. Gif images work as expected in
that the postscript generated from the print request contains the actual image.
However, jpeg images don't print for some reason. I tried calling printAll()
on the Canvas as well as rendering the image myself with a PrintGraphics object.
Neither works.
I've attached the program. Compile *.java and then 'run img'.
I've attached 2 images, Shark_bait.gif which works, and Shark_bait.jpg which
doesn't (I used xv to convert the gif to jpg). The app is currently using the
jpeg image. Change the image name in img.java to use the .gif file.
I've tried several different jpg files without any luck.