This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Sahar Salah Aldeen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!