Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236140 - media-gfx/imagemagick (all versions) needs a USE="raw" flag to draw in media-gfx/ufraw
Summary: media-gfx/imagemagick (all versions) needs a USE="raw" flag to draw in media-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-29 18:13 UTC by Armando Di Cianno
Modified: 2008-10-15 18:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Armando Di Cianno 2008-08-29 18:13:12 UTC
ImageMagick requires the ufraw package to delegate functions on RAW files to.

Without this package, ImageMagick warns that it cannot find the ufraw-batch program.



Reproducible: Always

Steps to Reproduce:
1. Try to convert a RAW photo (like off a Canon or Nikon SLR) to any other format
2. See the failure
3.




I'll post an example image.
Comment 1 Armando Di Cianno 2008-08-29 18:24:37 UTC
I cannot post a 5.1MiB file -- any RAW file will not-work for example, though.
Comment 2 Markus Meier gentoo-dev 2008-08-29 23:22:26 UTC
I won't add this flag right now, as this does not work with all kind of raw formats (I tested the canon .cr2 format, which won't work). it looks like only .dng files are supported.
if upstream will support "all" formats (what dcraw/ufraw) support, I will add the flag.
Comment 3 Armando Di Cianno 2008-09-01 19:37:09 UTC
We tested 5 different raw formats -- including cr2 -- and all worked.  If you deal with a lot of cameras and imagemagick, you know that there's a lot of regressions in imagemagick with respect to RAW images; these regressions are often fixed after bug reporting.

However, I think closing this bug under the guise of "'cause it doesn't support all RAW formats" is simply wrong -- at any given point, ufraw and imagemagick will certainly not be supporting the newest RAW formats.

The average camera user or image editting user, or a power user doing some kind of image processing, has /no way/ to know they need to install ufraw to make imagemagick work, without manual intervention.

I think there's really two options:
* Add a "ufraw" flag to not confuse people that might think this means all raw type support (unlikely, as it's a proprietary nightmare), and draw ufraw in as a needed run-time dependency
* Remove the scripts at installation time from imagemagick that require ufraw.

And for the record, I've tested raw, nef, cr2, creo, and other raw formats.  I'm  not sure what "dng" is, but it's certainly not the only supported raw format from ufraw.


Comment 4 Markus Meier gentoo-dev 2008-10-15 18:13:07 UTC
added in cvs.

*imagemagick-6.4.4.6-r1 (15 Oct 2008)
*imagemagick-6.4.4.6 (15 Oct 2008)

  15 Oct 2008; Markus Meier <maekke@gentoo.org> metadata.xml,
  +imagemagick-6.4.4.6.ebuild, +imagemagick-6.4.4.6-r1.ebuild:
  bump to 6.4.4.6 (bug #237174), add raw USE-flag (which pulls in
  media-gfx/ufraw, that's why some keywords are dropped) for bug #236140 and
  corefonts USE-flag for bug #239765. add support for the test-suite, but
  only run it if the same ${PV} is installed