This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes how to return the exact value of an array that converted to image? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "how to return the exact value of an array that converted to image?" Watch "how to return the exact value of an array that converted to image?" New topic
Author

how to return the exact value of an array that converted to image?

Sahar Salah Aldeen
Greenhorn

Joined: Jun 16, 2013
Posts: 1
Hi;
I am doing a research in images; in that i split the original image into shares by an algorithm that work fine; but the values of the pixels that it produces are larger than 256,so when i put them back in an image the java reduce the values to less than 256 and when i want to do the reverse of the algorithm i get the wrong values because of the reduction that done by java... what can i do?
please answer me.
thank you...
(sorry for my bad language).
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39546
    
  27
but the values of the pixels that it produces are larger than 256,so when i put them back in an image the java reduce the values to less than 256

Post the code you're using to dissect the image, and the code you're using to put it back together.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to return the exact value of an array that converted to image?
 
Similar Threads
whizlabs question
Graphics - BufferedImage - ImageIO problem
Simple GUI - button not responding to clicks
map program
Tomcat5- how can I get the Initial Memory pool numers set on command line to show up in GUI tool?