Use ImageMagick fallback when importing bitmap resolution

Bug #1085949 reported by jazzynico
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
jazzynico

Bug Description

Follow up to Bug #1080474 "JPEG resolution not imported in Windows".

PNG and JPEG files use specific code to import their resolution, but it's not the case for other bitmap file formats.
It would be relatively easy to use ImageMagick as a fallback (patch from Bug #165952, comment #12 could be a good start) to handle those cases.

Revision history for this message
jazzynico (jazzynico) wrote :

Assigning to myself. I don't plan to work on it before 0.49 is out (we have almost reach feature freeze anyway). Don't hesitate to comment in the meanwhile.

Changed in inkscape:
assignee: nobody → JazzyNico (jazzynico)
Revision history for this message
jazzynico (jazzynico) wrote :

First version, tested no Windows XP, Inkscape trunk revision 11992.
Tested with GIF, TIFF and PNG (I have one that readpng doesn't accept) files.

Changed in inkscape:
status: New → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :

Except if someone strongly disagree, I'd like to commit the patch for 0.49.

Changed in inkscape:
milestone: none → 0.49
Revision history for this message
jazzynico (jazzynico) wrote :

Fix committed trunk revision 12330.

Changed in inkscape:
status: In Progress → Fix Committed
Revision history for this message
Hans-Karl (jchbraun) wrote :

Ok for GIF, TIFF and PNG import. Is it possible to add support for BMP files to complete the support of the most common raster image formats?

Revision history for this message
jazzynico (jazzynico) wrote :

I confirm it BMP files are not correctly imported. I'll take a look as soon as possible.

Revision history for this message
jazzynico (jazzynico) wrote :

Follow-up report: Bug #1325822 "BMP images resolution not correcty imported"

Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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