Am o problema la un resize cu ImageMagick, pe care nu am reusit s-o rezolv nici dupa ore si ore de cautari.
Pentru o anumita imagine (una am descoperit pana acum), conversia returneaza eroarea:
“convert.im6: color profile operates on another colorspace `icc’ @ error/profile.c/ProfileImage/776”.
Se spune ca e un bug ce ar fi fost rezolvat in versiunea 6.8.9 a ImageMagick, desi unii tot l-au mai intalnit.
Dar exista si o solutie:
convert behaves different if the source image has an embedded profile or not. That is very annoying. If it does not have one, you need to provide TWO -profile parameters (a source and a target profile), or no conversion will happen, and usually the source file will not have a profile if it is a self-made image. I therefore recommend to remove an maybe existing profiles in the image using +profile “*” when you are sure it is a RGB file, so that all files are handled uniformly, and then 2 profiles should be specidifed using “-profile”