On Mon, Aug 19, 2019 at 07:29:11PM +0100, Ken Moffat via blfs-dev wrote: > When I was doing my explorations of the time penalty for using my > "cheap hardening" CFLAGS/CXXFLAGS, I ended up by taking some raw > photos I had found (mostly not shareable, they were from websites > which review cameras) which ImageMagick's identify did _not_ regard > as tiff files, and using ImageMagick to convert them to pngs. > > I've just run the script for that with LibRaw on 9.0 and the results > all had a greenish tint when I used ImageMAgick's display, most > unpleasant. So then I used 'display' on some of my own old png and > tiff files - the colours looked ok. >
I noticed LibRaw-0.19.5 was out, and in the ticket Bruce has added the details which include: WB coefficients check was too strong, weakened. That sounds hopeful. So, I downloaded and gave it a try, but which I was building it I checked to see if 'convert' used libraw and initially got a negative response (I was actually checking to make sure this wasn't like ffmpeg, where linkage goes to an absolute version of the .so).. Then I looked at my verbose build of ImageMagick and only found it using the headers from LibRaw. Looking more deeply, the only linkage to system LibRaw is from /usr/lib/ImageMagick-7.0.8/modules-Q16HDRI/coders/dng.so Gurgle found https://imagemagick.org/discourse-server/viewtopic.php?t=34863 which is interesting in this context. In /etc/ImageMagick-7/delegates.xml there is no reference to libraw, but instead it seems to use ufraw-batch (on the previous tests I had installed nufraw, which ImageMagick does not recognise as a ufraw fork, but that has not compiled for a few months). <delegate decode="dng:decode" command=""ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i""/> So, I was going to say "I seem to be mistaken about the cause of the green tint." But by that stage LibRaw had been installed, so I retested and with 0.19.5 the colours look OK. Summary: I think 0.19.5 fixes the problem. ĸen -- Adopted by dwarfs, brought up by dwarfs. To dwarfs I'm a dwarf, sir. I can do the rite of k'zakra, I know the secrets of h'ragna, I can ha'lk my g'rakha correctly ... I am a dwarf Captain Carrot Ironfoundersson (in The Fifth Elephant) -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
