[image processing] Grayscale photos + watermarks + IM 6.7 = altered contrast #320

Closed
opened 2026-10-04 23:52:00 +02:00 by adam · 1 comment
Owner

Reported by plg on 31 Mar 2015 09:27

Version: 2.7.5

See details on http://piwigo.org/forum/viewtopic.php?id=25043

Piwigo Bugtracker #3215

**Reported by plg on 31 Mar 2015 09:27** **Version:** 2.7.5 See details on http://piwigo.org/forum/viewtopic.php?id=25043 [Piwigo Bugtracker #3215](http://piwigo.org/bugs/view.php?id=3215) <!-- github-sync-id:97252325 -->
adam closed this issue 2026-10-04 23:52:00 +02:00
Author
Owner

Actually the problem no longer exists with ImageMagick 6.8.9 (Debian 8).

On IM 6.7.7, if I add "-colorspace RGB" for the "compose" (watermark) on a photo that is already RGB, it darkens the watermarked photo. The only way to do it correctly would be to first "detect" the colorspace (grayscale or not) to use the appropriate option. It is too complicated to fix a problem due to ImageMgick, solved in recent version.

Actually the problem no longer exists with ImageMagick 6.8.9 (Debian 8). On IM 6.7.7, if I add "-colorspace RGB" for the "compose" (watermark) on a photo that is already RGB, it darkens the watermarked photo. The only way to do it correctly would be to first "detect" the colorspace (grayscale or not) to use the appropriate option. It is too complicated to fix a problem due to ImageMgick, solved in recent version. <!-- github-comment-id:183964049 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#320