imagemagick 7 support

Bug #1675962 reported by rezso
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Wishlist
Unassigned
Gentoo Linux
New
Undecided
Unassigned

Bug Description

I made a partial imagemagick 7 support for rev 15606.
image->opacity(opacity); not works in IM7, I cannot found any replacements for this, so currently disabled.
scaleDoubleToQuantum is protected, so I use static_cast<Magick::Quantum> instead.

Revision history for this message
rezso (rezso) wrote :
Revision history for this message
jazzynico (jazzynico) wrote :

Thanks for your patch!
Does it also work with IM6?

tags: added: bitmap code-design
Changed in inkscape:
importance: Undecided → Wishlist
Revision history for this message
rezso (rezso) wrote :

Currently not, with this patch Inkscape will work with IM7 only.

Revision history for this message
Ervin Peters (ervin.peters) wrote :

I tried it on gentoo with V 0.92.3 and found patch errors:

- trailing tabs in the channel.cpp source file but not in the patch (Line 31)

after correcting that I got an error (later) aboout the missing opacity functions

Isn't there a way to port it completely to ImageMagick 7?

The functions are deprecated awhile.

Don't know enough yet, but couldn't there be some IM related switches?

Ervin

Revision history for this message
Ervin Peters (ervin.peters) wrote :

Shouldn't this be a bug since recent Distros switch to imagemagick 7 in stable trees?

ervin

Changed in inkscape:
status: New → Incomplete
status: Incomplete → Fix Committed
status: Fix Committed → Confirmed
Revision history for this message
Fabio Rossi (rossi-f) wrote :

any plan to work on this before final release of inkscape 1.0?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.