X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2BF73385841D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=uni-leipzig.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=izbi.uni-leipzig.de Date: Wed, 14 Sep 2022 16:31:28 +0200 From: Ulf-Dietrich Braumann To: cygwin AT cygwin DOT com Subject: ImageMagick 7.0.10-27 crashes when handling jp2 Message-ID: User-Agent: Alpine 2.22 (WNT 394 2020-01-19) Organization: "http://www.uni-leipzig.de" MIME-Version: 1.0 X-Rspamd-UID: fb1f78 X-ExSBR-Direction: Incoming X-Rspamd-Score: 0.00 X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 28EEWGAD019166 Hi, I have noticed that my ImageMagick (installed via the Net Release Setup Program version 2.919 from an official download site) reproducibly crashes when generating or converting or displaying or comparing or identifying any JPEG-2000 files: $magick input.png output_magick.jp2 Abort (core dumped) I instead have used OpenJPEG 2.1.1 (own build): $opj_compress -i input.png -o output_openjpeg.jp2 That cannot be displayed: $display output_openjpeg.jp2 Abort (core dumped) It also cannot be compared: $compare -metric ssim output_openjpeg.jp2 input.png null: Abort (core dumped) $convert output_openjpeg.jp2 output.png Abort (core dumped) $identify output_openjpeg.jp2 Abort (core dumped) However, I am sure that the file output_openjpeg.jp2 is a valid JPEG-2000 file, as e.g. XnView has no problem to display it. Here the version information: $magick -version Version: ImageMagick 7.0.10-27 Q16 x86_64 2021-02-07 https://imagemagick.org Copyright: © 1999-2020 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI OpenMP(4.5) Delegates (built-in): bzlib cairo djvu fftw fontconfig fpx freetype gslib gvc jbig jng jp2 jpeg lcms lqr lzma pangocairo png ps raqm raw rsvg tiff webp x xml zlib Can anybody check if ImageMagick behaves similarly odd handling JPEG-2000 on other Cygwin installations? I did a cygcheck and could not find errors, in particular none concerning ImageMagick. Please note that ImageMagick has identic problems using a JPEG-2000 test file generated using jasper 2.0.14 (official Cygwin setup): $jasper < input.ppm --output-format jp2 > output_jasper.jp2 $identify output_jasper.jp2 Abort (core dumped) And so on ... Thanks a lot - UD -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple