New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21420 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

ImageMagick convert no longer respects -density

Reported by: ndw@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: ImageMagick

Description (last modified by ryandesign@…) (diff)

At some point in the past couple of months (before I upgraded to 1.8.0, but I don't know precisely when), ImageMagick's convert program stopped respecting the -density option.

convert something.svg something.png

produces a 72dpi version of the source SVG file. It used to be the case that

convert --density=150 something.svg something150.png

would produce a 150dpi version of the source SVG file.

Today, the density option is simply ignored and the resulting PNG is always 72dpi.

Attachments

9.svg (3.7 KB) - added by ndw@… 4 years ago.
A sample SVG file
librsvg.gv (16.7 KB) - added by ryandesign@… 4 years ago.
librsvg.gv.pdf (50.5 KB) - added by ryandesign@… 4 years ago.

Change History

Changed 4 years ago by ndw@…

A sample SVG file

comment:1 Changed 4 years ago by jmr@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Port set to ImageMagick

comment:2 Changed 4 years ago by ryandesign@…

  • Description modified (diff)

You should report this problem to the developers of ImageMagick.

comment:3 Changed 4 years ago by ndw@…

I subscribed to magick-bugs and sent a message, but haven't seen any reply, nor has the message appeared in the magick-bugs archives. I believe you're subscribed, did you get my message? If nothing turns up in another 24 hours or so on the archives, I'll send it again.

comment:4 Changed 4 years ago by ryandesign@…

I have not seen your message, but I have seen it take some time for messages to show up on the list. It may be moderated, so I would just wait awhile.

comment:5 Changed 4 years ago by ndw@…

Installing the +rsvg variant of ImageMagick fixes this problem. I don't know what that says about whether or not the +rsvg variant should be a variant or if it should be the default.

Changed 4 years ago by ryandesign@…

Changed 4 years ago by ryandesign@…

comment:6 Changed 4 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to wontfix

rsvg has a very large number of dependencies and not everybody needs to convert svg files, so I think it's fair to keep it as a variant.

The rsvg variant was added on 2008-04-18 to fix #15036. Before that time, librsvg would have been automatically used if present, which violated MacPorts policy of not using software on which a dependency has not been declared.

Note: See TracTickets for help on using tickets.