Results 1 to 1 of 1
- 03-26-2011, 10:01 PM #1
Member
- Join Date
- Mar 2011
- Posts
- 1
- Rep Power
- 0
Help : reading image and draw it on GUI
i have a task to make a program that will read an image (bmp), we have been told to just read first 2 bytes and skip 52 byte cause we still new:D ok i have read from the bmp image as a normal file when i read it i stored them as integers in three matricies (R,G,B) but the problem some numbers are greater than 255 and the color constructor take <= 255......what should i do?
NOTE : i am not so professional in java...
Similar Threads
-
Load and Draw image
By TheSheepeh in forum New To JavaReplies: 2Last Post: 03-19-2011, 12:19 PM -
Why doesn't the image draw?
By MrFish in forum Java 2DReplies: 20Last Post: 11-16-2010, 07:32 PM -
How can i draw a circle on an image uploaded ?
By motress in forum New To JavaReplies: 1Last Post: 04-15-2010, 04:55 PM -
Unable to draw buffered image
By pedjasmek in forum Java 2DReplies: 7Last Post: 08-08-2008, 03:49 PM -
how to draw an image inside of jscrollpane
By paty in forum Java AppletsReplies: 1Last Post: 07-24-2007, 12:44 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks