imagemagick 7 support

Bug #1675962 reported by rezso on 2017-03-24
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
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.

rezso (rezso) wrote :
jazzynico (jazzynico) wrote :

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

tags: added: bitmap code-design
Changed in inkscape:
importance: Undecided → Wishlist
rezso (rezso) wrote :

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

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

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments