I am encountering a problem with G’MIC (2.5.5) and am wondering if anyone else has experienced this. Following is the command that I run:
gmic SOURCE_RGB.tif SOURCE_LUM.tif div 257 rgb2lab8 j  rm lab82srgb mul 257 cut 0,65535 round o SOURCE_RGB8-TESTOUT.tif
The two input files are the same size: 15221 X 15441
The following image shows the output. On the right is what G’MIC creates and on the left is what the same two files create when I use Photoshop to merge the luminosity image with the RGB image in LAB mode.
In seems clear to me that the merging of the two files in G’MIC is not clean and that there is a multiple pixel lateral offset when the two images are merged.
Does anyone have any insight on this? Thanks.