Bug 699414 - Need for 16-bits support in GraphicsMagick
Summary: Need for 16-bits support in GraphicsMagick
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: GraphicsMagick
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Thienemann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 684703 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-25 15:06 UTC by Thibault North
Modified: 2011-09-30 21:05 UTC (History)
4 users (show)

Fixed In Version: GraphicsMagick-1.3.12-4.fc15
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-05 05:09:33 UTC
Type: ---


Attachments (Terms of Use)

Description Thibault North 2011-04-25 15:06:56 UTC
Description of problem:

GraphicsMagick is currently compiled with 8-bits support only. Some applications, such as Photivo(.org) rely on 16-bits support in order to process RAW images without quality loss.
However, compiling GraphicsMagick with 16-bits support would significantly increase its memory consumption, which can be a problem for most uses of GraphicsMagick (webservers, etc.).

How reproducible:
Compile photivo with the packaged version of GraphicsMagick. Missing 16-bits support leads to strong image artifacts.

Expected results:

Proper compilation against a 16-bits GraphicsMagick when its support is required and specified in the spec file.

Comment 1 Rex Dieter 2011-04-25 15:16:11 UTC
I assume by 16 bits, you mean a build with QuantumBits=16 per http://www.graphicsmagick.org/FAQ.html ?

Comment 2 Thibault North 2011-04-25 15:28:24 UTC
Yes.

It requires a single line change to the spec file:
@@ -106,6 +107,7 @@
 
 %build
 %configure --enable-shared --disable-static \
+           --with-quantum-depth=16 \
            --with-lcms \
            --with-magick_plus_plus \
            --with-modules \

Comment 3 Rex Dieter 2011-04-26 18:20:55 UTC
*** Bug 684703 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2011-04-27 19:19:37 UTC
GraphicsMagick-1.3.12-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/GraphicsMagick-1.3.12-4.fc15

Comment 5 Fedora Update System 2011-04-28 19:03:01 UTC
Package GraphicsMagick-1.3.12-4.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing GraphicsMagick-1.3.12-4.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/GraphicsMagick-1.3.12-4.fc15
then log in and leave karma (feedback).

Comment 6 Rex Dieter 2011-04-28 19:07:07 UTC
I'm testing the viability of issuing 16bit-enabled builds for fedora< 15 too, still trying to check how that affects abi

Comment 7 Thibault North 2011-04-28 21:27:09 UTC
Thank you.

Is there a way to list all Fedora packages that require GM ?
Some people may be unhappy of that switch, affecting in a hidden way their existing applications by the new memory requirements.

Comment 8 Fedora Update System 2011-05-05 05:09:13 UTC
GraphicsMagick-1.3.12-4.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Ville Skyttä 2011-09-30 21:05:48 UTC
(In reply to comment #7)
> Is there a way to list all Fedora packages that require GM ?

repoquery --whatrequires GraphicsMagick GraphicsMagick-c++


Note You need to log in before you can comment on or make changes to this bug.