I’m using such command:
–scale_dcci2x 1.5,5,0 -output jpg:123_upscale.jpg
I’m also getting two files, first with _000000 and second with 000001 suffix. I’ve tried to use online version and Krita version and both work ok, so I’m probably missing something (alpha channel?)
Thank you for help!
The dcci2x algorithm has been made specifically for upscaling pixel-art images (with a low number of colors and resolutions). I doubt you’ll get something interesting with a ‘regular’ image that does not fit these constraints. I’m not really surprised by the kind of results you get actually.
I don’t know why you get two images as outputs, there are no reasons for that. Personally I get only one result. Did you type +scale_dcci2x or --scale_dcci2x instead ? It should be the reason.
I don’t know what version of G’MIC you use with the command line call, I’ve just tested here with latest 2.2.2, and it works fine with your input image.
What $ gmic version tells you ?
Ah yes, now I understand.
The scaling algorithm allows out-of-range values to appear, so you must explicitly cut the values of the resulting image in [0,255] before saving it as a JPEG (which only handle 8bits values).
This is not necessary in the plug-in, because the cut is done automatically there.
So, the correct command line to use is: