Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

Differences of image values between J2SE and J2ME

Thread view: 
logiclips@yahoo.com - 29 Sep 2006 21:35 GMT
Hi,

On my mobile device, I take a snapshot with my J2ME application and
store this image as png. Then, I send it to my J2SE Application on my
PC. Now I look at the RGB values of the image on my PC and on my mobile
device (the images are equal).
I have recognized that the values are not equal! The differences are
between 0 to 3 value steps in each color channel.
Can someone explain me that? How can I make them equal?

In J2ME I'm using the javax.microedition.lcdui.Image class, in J2SE I
use java.awt.Image in combination with java.awt.image.BufferedImage.

Thanks,

Peter Vermeer
hank - 30 Sep 2006 00:02 GMT
this could be cos of the the color system difference in the 2
platforms.
windows has a 256bit or 16 bit color which you can set in display
properties.
if these 2 setting are incompatible you will see a difference.

> Hi,
>
[quoted text clipped - 12 lines]
>
> Peter Vermeer
logiclips@yahoo.com - 30 Sep 2006 10:10 GMT
Hi,

Do you think that the different display systems are the reason? I don't
think so, because the images are exactly the same. I look at the RGB
values in exactly the same images on both platforms. It's not a matter
of how I conceive them. The physical values are different, e.g. the
first pixel of the image has the values 165 158 148 on my mobile device
and 164 158 151 on PC.

Peter

hank schrieb:

> this could be cos of the the color system difference in the 2
> platforms.
[quoted text clipped - 18 lines]
> >
> > Peter Vermeer


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.