Forums Register Login

Writing buffered images to file

+Pie Number of slices to send: Send
I was trying to create a buffered image and write it to a jpg file. This is what i have done

A test.jpg file is created but it contains nothing. What's wrong with the code?
Thanks
+Pie Number of slices to send: Send
Change

to
Those cherries would go best on cherry cheesecake. Don't put those cherries on this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 912 times.
Similar Threads
Concerning saving images
Image to BufferedImage converter
Java 2D Border Issue
Display String in System Tray (instead of TrayIcon)
works on WinXP jdk 1.6 but not Linux jdk 1.5
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 08:43:12.