Search found 27 matches
- 2008-08-13T01:15:34-07:00
- Forum: Users
- Topic: Annotate, (and draw) gives odd result
- Replies: 3
- Views: 10213
Annotate, (and draw) gives odd result
first, Sorry if this is a duplicate post. but i can't find a post about this issue. When using annotate on one server it gives attached result (see image below). what can be wrong in the installation ? ps, i have tested two different ways, with draw, and with annotate, same result. convert $1 \ -siz...
- 2008-04-10T04:14:33-07:00
- Forum: Users
- Topic: How to check if image has layers (MagickCore/MagickWand)
- Replies: 0
- Views: 3589
How to check if image has layers (MagickCore/MagickWand)
I'm trying to find function to just check if image has layers,
(found deprecated function ClipPathImage, but that checks for ClipPaths . . .)
for example, i have a PSD file, and just want to use MagickCore/MagickWand to check if image has layers or not.
what function can i use for that ?
(found deprecated function ClipPathImage, but that checks for ClipPaths . . .)
for example, i have a PSD file, and just want to use MagickCore/MagickWand to check if image has layers or not.
what function can i use for that ?
- 2008-04-10T04:08:35-07:00
- Forum: Users
- Topic: Thumbnail help needed
- Replies: 10
- Views: 23695
Re: Thumbnail help needed
Seams that the original image is a multi layer image.
try : convert orgimage[0] test.jpg
try : convert orgimage[0] test.jpg
- 2007-12-18T04:16:22-07:00
- Forum: Developers
- Topic: UnsharpMaskImage not working on JPEG but on TIF ?
- Replies: 0
- Views: 4545
UnsharpMaskImage not working on JPEG but on TIF ?
Hi, tried to find info regarding if some functions need Image *, to be in a specific format... this code don't change the image returned into mod_image if ((mod_image = UnsharpMaskImage(resize_image, (const double)radius,(const double)sigma,(const double)amount,(const double)threshold,&exception...
- 2007-11-16T08:38:30-07:00
- Forum: Developers
- Topic: Changing Colorspace from Grayscale to RGB
- Replies: 9
- Views: 37775
Re: Changing Colorspace from Grayscale to RGB
Crap ! When asking identify what kind of image grey.jpg is, it says Greyscale and Gray nisse@ass001 16:35 ~/local_image_magick >bin/identify -verbose grey.jpg Image: grey.jpg Format: JPEG (Joint Photographic Experts Group JFIF format) Class: DirectClass Geometry: 150x99+0+0 Type: Grayscale Endianess...
- 2007-11-16T08:25:14-07:00
- Forum: Developers
- Topic: Changing Colorspace from Grayscale to RGB
- Replies: 9
- Views: 37775
Re: Changing Colorspace from Grayscale to RGB
I don't think it is possible to get another return type than GrayscaleType returned from function GetImageType because it uses IsGrayImage to determine what type of image it is, and that function check red,green and blue channel... so am i right when i say that SetImageType(image,TrueColorType) don'...
- 2007-11-16T06:53:26-07:00
- Forum: Developers
- Topic: Changing Colorspace from Grayscale to RGB
- Replies: 9
- Views: 37775
Re: Changing Colorspace from Grayscale to RGB
It seams that this can't be done with convert or mogrify, so maybe it can't be done with imagemagick API ? nisse@ass001 14:42 ~/local_image_magick >bin/mogrify +profile grey.jpg nisse@ass001 14:42 ~/local_image_magick >bin/mogrify -profile AdobeRGB1998.icc grey.jpg nisse@ass001 14:43 ~/local_image_m...
- 2007-11-16T01:44:42-07:00
- Forum: Developers
- Topic: Changing Colorspace from Grayscale to RGB
- Replies: 9
- Views: 37775
Re: Changing Colorspace from Grayscale to RGB
OK, understand what you are writing... But, in magick Core API, how do i do that, add "missing" channels ? Is the order of these things of great matter ? have tried to do like this - Strip profiles - Add profile (AdobeRGB1998.icc) - Change Imagetype - Change Colorspace and like this - Stri...
- 2007-11-16T00:55:29-07:00
- Forum: Developers
- Topic: Changing Colorspace from Grayscale to RGB
- Replies: 9
- Views: 37775
Re: Changing Colorspace from Grayscale to RGB
Thanks for the reply, yes i have now changed to image_info->sampling_factor = AcquireString("2x2,1x1,1x1"); But, the problem remains, i can't change Grayscale to RGB my code: -------------------------------------------------------------------------- image_info->sampling_factor = AcquireStr...
- 2007-11-16T00:23:52-07:00
- Forum: Users
- Topic: regarding threshold
- Replies: 3
- Views: 7936
Re: regarding threshold
I found that using % instead of for example 255,255,255 was wery logic when using function WhiteThresholdImage.
I'm setting all pixels above 250 to white, 250 is 98% of 255.
so my call to WhiteThresholdImage with 98% as threshold , did the job.
I'm setting all pixels above 250 to white, 250 is 98% of 255.
so my call to WhiteThresholdImage with 98% as threshold , did the job.
- 2007-11-15T08:30:09-07:00
- Forum: Developers
- Topic: Changing Colorspace from Grayscale to RGB
- Replies: 9
- Views: 37775
Re: Changing Colorspace from Grayscale to RGB
Hi, i'm trying to do the same, this code does not change the colorspace for given image.... image_info->sampling_factor = "2x2,1x1,1x1"; status = SetImageType(resize_image, TrueColorType); if (status == MagickFalse){ MagickError(exception.severity, exception.reason, exception.description);...
- 2006-05-16T01:57:03-07:00
- Forum: MagickWand for PHP
- Topic: dpi resize bug?
- Replies: 4
- Views: 33457
72 dpi default if exif missing...
I think that photoshop's set's the dpi to 72 if the non standard dpi info is missing... so i wonder if strip image really is a workaround...