Quantcast
Viewing latest article 7
Browse Latest Browse All 10

Users • Re: Dithering from 48bit (to 24bit) image not possible?

Well, I've concluded that it doesn't work!
However, the obvious solution to this is to split the colour channels and do the dithering separately, then combine again:-

Code:

magick image24.png -resize 4096x2048 -define png:format=png48 png48:image48.pngmagick image48.png -blur 3x9 -depth 16 -define png:format=png48 png48:image48b.pngmagick image48b.png -motion-blur 33x33+90 -depth 16 -define png:format=png48 png48:image48c.pngmagick image48c.png -channel R -separate -depth 16 -define png:format=png48 png48:image48c_red.pngmagick image48c.png -channel G -separate -depth 16 -define png:format=png48 png48:image48c_grn.pngmagick image48c.png -channel B -separate -depth 16 -define png:format=png48 png48:image48c_blu.pngmagick image48c_red.png -dither riemersma -colors 255 image48c_red2.pngmagick image48c_grn.png -dither riemersma -colors 255 image48c_grn2.pngmagick image48c_blu.png -dither riemersma -colors 255 image48c_blu2.pngmagick image48c_red2.png -resize 2048x1024 -define png:format=png24 png24:image48c_red3.pngmagick image48c_grn2.png -resize 2048x1024 -define png:format=png24 png24:image48c_grn3.pngmagick image48c_blu2.png -resize 2048x1024 -define png:format=png24 png24:image48c_blu3.pngmagick image48c_red3.png image48c_grn3.png image48c_blu3.png -combine -set colorspace sRGB -define png:format=png24 png24:image48d!!!.png
This gives me the result I was looking for. Image may be NSFW.
Clik here to view.
:D

http://www.violae.net/temp/48to24dither.jpg

Statistics: Posted by LDAsh — 2020-11-08T21:49:16-07:00



Viewing latest article 7
Browse Latest Browse All 10

Trending Articles