Sorry for late informing...'
My post on Other forums....'
Conversion of any image file to text file in Java...'
java - Creating Image from Pixel Values - Stack Overflow
Type: Posts; User: suyog53
Sorry for late informing...'
My post on Other forums....'
Conversion of any image file to text file in Java...'
java - Creating Image from Pixel Values - Stack Overflow
During conversion of image to text, simply pixel values are written to plain text file by using getRGB() function'
But during reverse, i created the group of 4 pixel values(255 123 132 064)
and...
@ Norm.....yes...but no idea how to put above pixels in them...'
Thanx frnz for posts.........................':(clap):
Now, the pixel value is stored in an array....'
'
Now, my output is:
'
'
How can i put the value of pixels and create image?'....i.e.how...
'
Do you mean about this method?'
image.setRGB(x, y, rgb)
Yes...but that was just an example...'
What if image dimension is 20 x 30...or any other.................'
'
And didn't get the next part....'
'
Even ...
Reading is eacsy, converting can be...
@Norm, is there any way so that i can read first 4 pixel value, and store in image pixel(0,0), then next 4 at (0,1)...till(height,width)'
'
If any image is of dimension 30 x 30 , then pixel value...
Yes.............thats my post only...'
The other data is not important '
The text file contains the following data'
'
The following code reads the image file and store its Pixel values(ARGB) in text file....'
A - Alpha'
R - Red'
G - Green'
B - Blue'
'...