Results 1 to 6 of 6
Thread: Image Color Problem
- 03-10-2012, 05:00 PM #1
Member
- Join Date
- Mar 2012
- Posts
- 9
- Rep Power
- 0
-
Re: Image Color Problem
What code are you using to "load it up in Java"? And what differences do you see in the images as they appear the same to me.
- 03-10-2012, 06:53 PM #3
Member
- Join Date
- Mar 2012
- Posts
- 9
- Rep Power
- 0
Re: Image Color Problem
public void paint(Graphics g){
if(loaded){
g.drawImage(back, 0, 0, null);
}
}
and if you click on the pictures to see the higher resolution the second ones colors dont mix together as well its difficult to explain
erm.. if you cant tell the difference maybe its not as big of a problem as i thought. click on em and see if you can see the difference in higher resolution
- 03-13-2012, 01:14 AM #4
Member
- Join Date
- Mar 2012
- Posts
- 9
- Rep Power
- 0
Re: Image Color Problem
the problem was the amount of colors i let java use, i just doubled it and now everything is fine :)
- 03-17-2012, 09:44 PM #5
Re: Image Color Problem
did you "super.paintComponent(g)"? i know images show up less good if you dont
- 03-18-2012, 01:42 AM #6
Similar Threads
-
extracting color from an image in java
By sarah49 in forum New To JavaReplies: 4Last Post: 09-18-2012, 03:22 PM -
scanning an image for a certain pixel color
By lostsoul28 in forum New To JavaReplies: 1Last Post: 02-01-2012, 02:50 PM -
[HELP] How to locate a pixel in an image by color?
By santafan in forum Java 2DReplies: 4Last Post: 11-08-2011, 06:04 AM -
Changing Image color
By Frecow in forum Java 2DReplies: 0Last Post: 04-04-2011, 11:16 AM -
SWT color creating and image using.
By caryr in forum SWT / JFaceReplies: 2Last Post: 12-21-2009, 06:49 PM
Bookmarks