Exporting pixel information in a certain format
Posted: 2016-03-18T14:52:37-07:00
Hi everyone, is there any possiblity to export the infos about each pixel in user format?
now if we use
we get a file with strings like
I would basically need something like that:
and that the output would be (for example)
or whatever else specified in the format
In the documentation there is an example which involves parsing the string with a shell script, but is there an option to output from the very beginning in the format needed?
now if we use
Code: Select all
convert file1.jpg file2.txt
we get a file with strings like
Code: Select all
0,0: (29,54,42) #1D362A srgb(29,54,42)
Code: Select all
convert file1.jpg <here smth where format can be specified> file2.txt
Code: Select all
pixel 0-0 color is #1D362A, pixel 0-1 color is #1D362A, pixel 0-2 color is ...
In the documentation there is an example which involves parsing the string with a shell script, but is there an option to output from the very beginning in the format needed?