Search found 10 matches

by argv[0]
2016-06-06T09:58:33-07:00
Forum: Bugs
Topic: 6.9.4-2 regression
Replies: 4
Views: 4035

Re: 6.9.4-2 regression

We tried your command on our system with ImageMagick 6.9.4-8 beta and it worked properly. Can you download http://magick.imagemagick.org/download/beta/ImageMagick-6.9.4-8.tar.bz2 and let us know if you still experience the problem. 6.9.4-8 beta has the same problem for me.

If so, report back here ...
by argv[0]
2016-06-06T06:56:24-07:00
Forum: Bugs
Topic: 6.9.4-2 regression
Replies: 4
Views: 4035

6.9.4-2 regression

$ convert -version
Version: ImageMagick 6.9.4-7 Q16 amd64 2016-06-06 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib cairo fftw fontconfig fpx ...
by argv[0]
2015-04-22T10:11:54-07:00
Forum: Bugs
Topic: ClampPixel vs ClampToQuantum
Replies: 8
Views: 8366

Re: ClampPixel vs ClampToQuantum

It works (with a little patch). Thanks a lot!
--- magick/composite.c.orig 2015-04-21 12:23:35.000000000 +0000
+++ magick/composite.c 2015-04-22 18:10:30.714484466 +0000
@@ -2860,9 +2860,9 @@
ClampPixel(composite.red) : ClampToQuantum(composite.red));
SetPixelGreen(q,clamp != MagickFalse ...
by argv[0]
2015-04-21T03:18:05-07:00
Forum: Bugs
Topic: ClampPixel vs ClampToQuantum
Replies: 8
Views: 8366

Re: ClampPixel vs ClampToQuantum

ImageMagick-6.9.1-1 has the same problem.
by argv[0]
2015-01-27T08:15:20-07:00
Forum: Bugs
Topic: ClampPixel vs ClampToQuantum
Replies: 8
Views: 8366

Re: ClampPixel vs ClampToQuantum

Well. Standard is standard. But clamping makes HDRI processing difficult. May be worth to add "-define compose:clamping=(true|false)" (or something else) to control this behavior?
by argv[0]
2015-01-27T06:58:29-07:00
Forum: Bugs
Topic: ClampPixel vs ClampToQuantum
Replies: 8
Views: 8366

ClampPixel vs ClampToQuantum

static inline Quantum ClampPixel(const MagickRealType value)
{
if (value < 0.0f)
return(0);
if (value >= (MagickRealType) QuantumRange)
return((Quantum) QuantumRange);
#if !defined(MAGICKCORE_HDRI_SUPPORT)
return((Quantum) (value+0.5f));
#else
return((Quantum) value);
#endif
}
static inline ...
by argv[0]
2014-03-31T08:43:55-07:00
Forum: Bugs
Topic: 6.8.8-8 - tiff.c
Replies: 1
Views: 3862

6.8.8-8 - tiff.c

2985 if (photometric == PHOTOMETRIC_RGB)
2986 (void) TransformImageColorspace(image,sRGBColorspace); What does this code?
As a result, embedded profile will be lost when writing RGB image.

Also embedding profile by '-profile' command into RGB images doesn't work:
$ convert test.tiff -profile ...
by argv[0]
2013-07-25T04:37:08-07:00
Forum: Bugs
Topic: Page offsets are lost when saving TIFF
Replies: 3
Views: 4495

Re: Page offsets are lost when saving TIFF

More complex patch (to 6.8.6-7):
--- coders/tiff.c.orig 2013-07-24 17:25:21.000000000 +0000
+++ coders/tiff.c 2013-07-25 10:58:06.812011876 +0000
@@ -3178,18 +3178,24 @@
(void) TIFFSetField(tiff,TIFFTAG_RESOLUTIONUNIT,(uint16) units);
(void) TIFFSetField(tiff,TIFFTAG_XRESOLUTION,image->x ...
by argv[0]
2013-07-24T06:04:50-07:00
Forum: Bugs
Topic: Page offsets are lost when saving TIFF
Replies: 3
Views: 4495

Re: Page offsets are lost when saving TIFF

This looks like a bug in the "coders/tiff.c".
Quick and dirty patch is:
--- coders/tiff.c.orig 2013-06-30 17:44:02.000000000 +0000
+++ coders/tiff.c 2013-07-24 12:43:54.333966829 +0000
@@ -3176,7 +3176,7 @@
(void) TIFFSetField(tiff,TIFFTAG_RESOLUTIONUNIT,(uint16) units);
(void) TIFFSetField(tiff ...
by argv[0]
2013-07-24T02:48:02-07:00
Forum: Bugs
Topic: Page offsets are lost when saving TIFF
Replies: 3
Views: 4495

Page offsets are lost when saving TIFF

When saving a TIFF both horizontal and vertical page offsets are lost when any of them (horizontal or vertical) <= 0:
$ sf=tif; sz=16x16; for x in -16 +0 +16; do for y in -16 +0 +16; do convert -size $sz -page $sz$x$y -depth 8 -units PixelsPerInch -density 300 xc:gray50 $sz$x$y.$sf; identify ...