Closed RemkoDuursma closed 7 years ago
Hi, thanks for reporting this, you're right, these errors should be handled in a more graceful manner. Will try to fix that soon.
Your particular issue should now be fixed in the current master branch (I still need to work on errors generated by calls to imagemagick).
Unfortunately compilation fails on my system, but I might have to do some local configuring?
../inst/include/CImg.h:451:20: fatal error: tiffio.h: No such file or directory
Compiling on Windows is a pain, you need to set up your system just like the CRAN one or it doesn't work. Better to just use winbuilder: here's a binary.
Right, winbuilder is an easy solution. Tested and works great, thanks.
Dear Simon,
great work on imager. I use it to process many files, some of which may be corrupted (somehow). I was wondering whether
load.image
could be slightly more immune to those files.Attachment:
On
load.image("corrupted_file.jpg")
I getI am using
try()
onload.image
so it is not a major issue, but perhaps can be cleaned up (also, the first two messages cannot be suppressed).(Windows 7, R 3.4.0, imager 0.40.2)