Huge temporary image magick files are generated on disk
Posted: 2018-07-11T22:58:08-07:00
Hello,
We have upgraded version of ImageMagick from "7.0.3.1-Q8-AnyCPU" to "7.4.6.0-AnyCPU" for .Net, but is it still generating huge temporary files on disk on production and causing image functionality stopped. We are using this component to covert images of multiple formats into PNG format.
We have found following errors from log.
->not a jpeg file: starts with 0x00 0x05 `<jpg file path>’ @ error/jpeg.c/jpegerrorhandler/332
->insufficient image data in file `<jpg file path>’ @ error/jpeg.c/readjpegimage/1106
->improper image header `<png file path>' @ error/png.c/readpngimage/4255
->not a jpeg file: starts with 0x3c 0x21 `<jpg file path>' @ error/jpeg.c/jpegerrorhandler/332
->no decode delegate for this image format `MSG' @ error/constitute.c/ReadImage/512
->Failed to read custom directory at offset 366668. `TIFFReadCustomDirectory' @ error/tiff.c/TIFFErrors/652
Some forums suggested delegate libraries need to be installed or any patch. We are using OS Windows Server 2012 R2 on production. Please let us know what are delegate libraries or patch need to be installed in our case or any other possible solution.
Delegate libraries:https://www.imagemagick.org/download/delegates/
Patches:https://www.imagemagick.org/download/beta/
Thanks & Regards,
Manish
We have upgraded version of ImageMagick from "7.0.3.1-Q8-AnyCPU" to "7.4.6.0-AnyCPU" for .Net, but is it still generating huge temporary files on disk on production and causing image functionality stopped. We are using this component to covert images of multiple formats into PNG format.
We have found following errors from log.
->not a jpeg file: starts with 0x00 0x05 `<jpg file path>’ @ error/jpeg.c/jpegerrorhandler/332
->insufficient image data in file `<jpg file path>’ @ error/jpeg.c/readjpegimage/1106
->improper image header `<png file path>' @ error/png.c/readpngimage/4255
->not a jpeg file: starts with 0x3c 0x21 `<jpg file path>' @ error/jpeg.c/jpegerrorhandler/332
->no decode delegate for this image format `MSG' @ error/constitute.c/ReadImage/512
->Failed to read custom directory at offset 366668. `TIFFReadCustomDirectory' @ error/tiff.c/TIFFErrors/652
Some forums suggested delegate libraries need to be installed or any patch. We are using OS Windows Server 2012 R2 on production. Please let us know what are delegate libraries or patch need to be installed in our case or any other possible solution.
Delegate libraries:https://www.imagemagick.org/download/delegates/
Patches:https://www.imagemagick.org/download/beta/
Thanks & Regards,
Manish