Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Java only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Java
Creating jpg file from pixel values
Creating jpg file from pixel values
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
shg
New Member
Join Date:
Jan 2008
Posts:
3
#1
Creating jpg file from pixel values
Jan 21 '08, 12:09 AM
Hi,
Can anyone guide me on How can I make/create a jpg file if I have image pixel values?
BigDaddyLH
Recognized Expert
Top Contributor
Join Date:
Dec 2007
Posts:
1216
#2
Jan 21 '08, 12:17 AM
Originally posted by
shg
Hi,
Can anyone guide me on How can I make/create a jpg file if I have image pixel values?
you can create an in-memory image using java.awt.Image subclass java.awt.image. BufferedImage
Set pixels using its method setRGB
Save to a jpeg file using ImageIO.write of package javax.imageio
Comment
Post
Cancel
shg
New Member
Join Date:
Jan 2008
Posts:
3
#3
Jan 21 '08, 01:34 PM
Originally posted by
BigDaddyLH
you can create an in-memory image using java.awt.Image subclass java.awt.image. BufferedImage
Set pixels using its method setRGB
Save to a jpeg file using ImageIO.write of package javax.imageio
Thankx.for the help. Able to create the image..:)
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment