Hi to everyone!
My question:
There is possible to convert picture with this limitations:
- maximum usage colors per one horizontal line = 7 colors
- maximum usage colors per picture = 256 colors
Convert picture to 256 color but only 7 in one horiz. line
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Convert picture to 256 color but only 7 in one horiz. line
kiki wrote:Ok i solved this myself.
How?
Re: Convert picture to 256 color but only 7 in one horiz. line
-ok i have 168x100 imagefmw42 wrote:
How?
-i split image by use crop command to 100 bmp files 168x1 bmp
-convert this all 100 bmp files with map palette (256 col) and with only 7 color at once
-merge converted files to one by using montage, tile and geometry functions.
convert -crop 168x1 col.bmp tiles_%05d.bmp
convert tiles_*.bmp +dither none -map test.png -colors 7 tile_%05d.bmp
montage tile_*.bmp -tile 1x100 -geometry 168x1 file-end.png
I don't know maybe there is a easy way but no one answer my questions and i dig in documentations myself - lots of thinking


---
sorry for my english