https://bugzilla.redhat.com/show_bug.cgi?id=2140018
Bug ID: 2140018 Summary: convert to a size from SVG Product: Fedora Version: 36 Hardware: x86_64 OS: Linux Status: NEW Component: ImageMagick Assignee: luya_tfz@thefinalzone.net Reporter: fredrik.kortetjarvi@cendio.com QA Contact: extras-qa@fedoraproject.org CC: blaise@gmail.com, dcavalca@fb.com, epel-packagers-sig@lists.fedoraproject.org, fedora@famillecollet.com, luya_tfz@thefinalzone.net, michel@michel-slm.name, ngompa13@gmail.com, pampelmuse@gmx.at, sergio@serjux.com, troy@troycurtisjr.com Target Milestone: --- Classification: Fedora
Description of problem: When using the convert tool from ImageMagick and want to make a PNG with a specified size it produces the SVG size instead.
Version-Release number of selected component (if applicable): ImageMagick 7.0.8 librsvg 2.54.5
How reproducible: every time
Steps to Reproduce: 1. identify pic.svg -> (48x48) 2. convert -size 16x16 pic.svg test.png 3. idenfify test.png -> (48x48)
Actual results: 48x48 is the size on test
Expected results: 16x16 should be the size
Additional info: Have confirmed this worked on a red hat 7 with ImageMagick 6.9.19 librsvg 2.40.20 , Arch linux with ImageMagick 7.1.0 librsvg 2.55.1, Ubuntu 22.04 with ImageMagick 6.9.11 but it didnt work on Fedora 35 with ImageMagick 6.9.12 librsvg 2.52.9
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
Sergio Basto sergio@serjux.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from Sergio Basto sergio@serjux.com --- (In reply to fredrik kortetjärvi from comment #0)
Version-Release number of selected component (if applicable): ImageMagick 7.0.8 librsvg 2.54.5
theses versions doesn't match with Fedora ones , can you clarify ? please
thank you
Additional info: Have confirmed this worked on a red hat 7 with ImageMagick 6.9.19 librsvg 2.40.20 Arch linux with ImageMagick 7.1.0 librsvg 2.55.1, Ubuntu 22.04 with ImageMagick 6.9.11 but it didnt work on Fedora 35 with ImageMagick 6.9.12 librsvg 2.52.9
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #2 from fredrik kortetjärvi fredrik.kortetjarvi@cendio.com --- Yes, you have right. I did download it manually, but I have also tried the Fedora version first and the version number for these was ImageMagick - 6.9.12 and librsvg2 - 2.54.5 I did forget to write it.
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #3 from Sergio Basto sergio@serjux.com --- confuse , so seems the constant is librsvg2 ? any version of IM with librsvg version 2.52.9 give error ?
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #4 from fredrik kortetjärvi fredrik.kortetjarvi@cendio.com --- Yes, it is librsvg2 that is constant, and I have tried different IM version with librsvg2 version 2.52.9.
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #5 from Sergio Basto sergio@serjux.com --- (In reply to fredrik kortetjärvi from comment #4)
Yes, it is librsvg2 that is constant,
and about the other question, if any version of IM with librsvg version 2.52.9 give error ?
and I have tried different IM version with librsvg2 version 2.52.9.
could you explain better what is the problem, why you use librsvg2 version 2.52.9 ? when Fedora version are librsvg 2.54.5 .
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #6 from fredrik kortetjärvi fredrik.kortetjarvi@cendio.com --- I think it has been a misunderstanding because I have downloaded everything from the fedora repos. But it does not work on fedora 35 or 36, but it does work on with the same packages on other systems for example RHEL7,arch Linux and Ubuntu, but Ubuntu does not have librsvg2, so I think it is something missing in the repo. So, the problem is that when converting an SVG to the desire size, it does not do that it transform to the SVG size instead. Sorry for the unnecessary comments. I have tested all variants on all system, so I hope this clarifies a few things.
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
Samuel samuel@cendio.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |samuel@cendio.se
--- Comment #7 from Samuel samuel@cendio.se --- The problem still exists in Fedora 37:
$ identify test.svg test.svg SVG 48x48 48x48+0+0 8-bit sRGB 1563B 0.000u 0:00.000
$ convert -size 16x16 test.svg test.png
$ identify test.png test.png PNG 48x48 48x48+0+0 8-bit sRGB 156c 1393B 0.000u 0:00.000
$ cat /etc/redhat-release Fedora release 37 (Thirty Seven)
$ convert --version Version: ImageMagick 6.9.12-67 Q16 x86_64 17519 https://legacy.imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC Modules OpenMP(4.5) Delegates (built-in): bzlib cairo djvu fontconfig freetype gslib gvc jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zlib
$ rpm -qa | grep librsvg librsvg2-2.54.5-1.fc37.x86_64
This is very annoying, how can I help to get this moving towards a solution?
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #8 from Sergio Basto sergio@serjux.com --- can you test if ImageMagick-6.9.12.70-1 [1] fix anything ?
[1] https://bodhi.fedoraproject.org/updates/FEDORA-2022-21d72b9715 or https://bodhi.fedoraproject.org/updates/FEDORA-2022-63361a0628
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #9 from Samuel samuel@cendio.se --- I upgraded to these packages:
ImageMagick-1:6.9.12.70-1.fc37.x86_64 ImageMagick-c++-1:6.9.12.70-1.fc37.x86_64 ImageMagick-libs-1:6.9.12.70-1.fc37.x86_64
But the problem unfortunately persists.
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #10 from Sergio Basto sergio@serjux.com --- well IMHO it should be reported upstream , is this one https://github.com/ImageMagick/ImageMagick6/issues/193 ?
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #11 from Samuel samuel@cendio.se --- I get the feeling that this is an issue with Fedora's packaging of librsvg, since it works on RHEL and Ubuntu.
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #12 from Sergio Basto sergio@serjux.com --- ImageMagick-7.x.x is on F38 Beta , can you check if this is fixed please
Thank you
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #13 from Samuel samuel@cendio.se --- Would it be a big undertaking trying to install the ImageMagick-7.x.x from the F38 Beta on F37?
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #14 from Neal Gompa ngompa13@gmail.com --- (In reply to Samuel from comment #11)
I get the feeling that this is an issue with Fedora's packaging of librsvg, since it works on RHEL and Ubuntu.
If you think this is the case, file a bug with librsvg.
(In reply to Samuel from comment #13)
Would it be a big undertaking trying to install the ImageMagick-7.x.x from the F38 Beta on F37?
You are better off just upgrading to Fedora 38.
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #15 from Ben Cotton bcotton@redhat.com --- This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #16 from Samuel samuel@cendio.se --- Issue remains on Fedora 38, this bug shouldn't be closed:
$ identify test.svg test.svg SVG 200x200 200x200+0+0 8-bit sRGB 1256B 0.000u 0:00.000
$ convert -size 16x16 test.svg test.png
$ identify test.png test.png PNG 200x200 200x200+0+0 8-bit sRGB 10c 818B 0.000u 0:00.000
$ cat /etc/redhat-release Fedora release 38 (Thirty Eight)
$ convert --version Version: ImageMagick 7.1.1-4 Q16-HDRI x86_64 20976 https://imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenMP(4.5) Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gslib gvc heic jbig jng jp2 jpeg jxl lcms lqr ltdl lzma openexr pangocairo png ps raqm raw rsvg tiff webp wmf x xml zip zlib Compiler: gcc (13.0)
$ rpm -qa | grep librsvg librsvg2-2.56.0-1.fc38.x86_64
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
Sergio Basto sergio@serjux.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|36 |38
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #17 from Fedora Update System updates@fedoraproject.org --- FEDORA-2023-27548af422 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-27548af422
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #18 from Fedora Update System updates@fedoraproject.org --- FEDORA-2023-27548af422 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-27548af422` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-27548af422
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ERRATA Status|ON_QA |CLOSED Fixed In Version| |ImageMagick-7.1.1.15-1.fc38 Last Closed| |2023-08-24 01:31:31
--- Comment #19 from Fedora Update System updates@fedoraproject.org --- FEDORA-2023-27548af422 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
--- Comment #20 from Samuel samuel@cendio.se --- Issue persists, please reopen:
$ identify test.svg test.svg SVG 128x128 128x128+0+0 8-bit sRGB 1594B 0.000u 0:00.000
$ convert -size 16x16 test.svg test.png
$ identify test.png test.png PNG 128x128 128x128+0+0 8-bit sRGB 72c 1104B 0.000u 0:00.000
$ rpm -q ImageMagick ImageMagick-7.1.1.15-1.fc38.x86_64
epel-packagers-sig@lists.fedoraproject.org