WARNING: when a global option is set or unset, any equivelent per-image
artefact should also be unset.
*/
- image->image_info = image_info;
+ /* Programming Note...
+ Don't do anything at this point, as image_info is only being used
+ to create the image, the image may not be added to this image_info,
+ or in some API's to any specific image_info structure.
+ */
+ /* image->image_info = image_info; */
+ image->image_info = (MagickInfo *) NULL;
#endif
return(MagickTrue);
}
switch (*property)
{
+#if 0 /* the percent escape sets prefix:... propertys!
+ This causes it to fail */
case '8':
{
if (LocaleNCompare("8bim:",property,5) == 0)
}
break;
}
+#endif
case 'B':
case 'b':
{
}
break; /* add to properties splay tree */
}
+#if 0 /* the percent escape sets prefix:... propertys!
+ This causes it to fail */
case 'E':
case 'e':
{
}
break; /* add to properties splay tree */
}
+#endif
case 'G':
case 'g':
{
image->interpolate=(PixelInterpolateMethod) interpolate;
return(MagickTrue);
}
+#if 0 /* the percent escape sets prefix:... propertys!
+ This causes it to fail */
if (LocaleNCompare("iptc:",property,5) == 0)
{
(void) ThrowMagickException(exception,GetMagickModule(),
OptionError,"SetReadOnlyProperty","'%s'",property);
return(MagickFalse);
}
+#endif
break; /* add to properties splay tree */
}
case 'K':
geometry=DestroyString(geometry);
return(MagickTrue);
}
+#if 0 /* the percent escape sets prefix:... propertys!
+ This causes it to fail */
if (LocaleNCompare("pixel:",property,6) == 0)
{
(void) ThrowMagickException(exception,GetMagickModule(),
OptionError,"SetReadOnlyProperty","'%s'",property);
return(MagickFalse);
}
+#endif
if (LocaleCompare("profile",property) == 0)
{
ImageInfo
}
break; /* add to properties splay tree */
}
+#if 0 /* the percent escape sets prefix:... propertys!
+ This causes it to fail */
case 'X':
case 'x':
{
}
break; /* add to properties splay tree */
}
+#endif
}
- /* add to properties splay tree */
+ /* Default: add to properties splay tree */
status=AddValueToSplayTree((SplayTreeInfo *) image->properties,
ConstantString(property),ConstantString(value));
/* FUTURE: error if status is bad? */
tests/validate-identify.tap \
tests/validate-import.tap \
tests/validate-montage.tap \
- tests/validate-pipe.tap \
- tests/validate-colorspace.tap \
tests/validate-stream.tap \
tests/validate-formats-in-memory.tap \
tests/validate-formats-on-disk.tap \
tests/drawtest.tap \
- tests/wandtest.tap
+ tests/wandtest.tap \
+ tests/cli-colorspace.tap \
+ tests/cli-pipe.tap
TESTS_EXTRA_DIST = \
tests/common.shi \
tests/validate-identify.tap \
tests/validate-import.tap \
tests/validate-montage.tap \
- tests/validate-pipe.tap \
- tests/validate-colorspace.tap \
tests/validate-stream.tap \
tests/validate-formats-in-memory.tap \
tests/validate-formats-on-disk.tap \
tests/drawtest.tap \
tests/wandtest.tap
+ tests/cli-colorspace.tap \
+ tests/cli-pipe.tap \
TESTS_EXTRA_DIST = \
tests/common.shi \