Opened 15 years ago

Closed 15 years ago

#21420 closed defect (wontfix)

ImageMagick convert no longer respects -density

Reported by: ndw@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: ImageMagick

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (3)

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

Download all attachments as: .zip

Change History (9)

Changed 15 years ago by ndw@…

Attachment: 9.svg added

A sample SVG file

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…
Port: ImageMagick added

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

You should report this problem to the developers of ImageMagick.

comment:3 Changed 15 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 15 years ago by ryandesign (Ryan Carsten Schmidt)

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 15 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 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: librsvg.gv added

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: librsvg.gv.pdf added

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed

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.