Search found 15 matches

by albertisi
2015-06-08T08:43:32-07:00
Forum: Bugs
Topic: Converting grayscale png affects bit depth
Replies: 6
Views: 8781

Re: Converting grayscale png affects bit depth

Here is the updated png.c. All i did was flipped the ping_have_color default value from MagickTrue to MagickFalse. It fixes my problem with performance, and bit depth. Tested it in my workflows with different images. My patch is here: File: png.c line: 7969 ping_have_blob=MagickFalse; ping_have_chea...
by albertisi
2015-06-05T04:06:09-07:00
Forum: Bugs
Topic: Help UnableToLoadModule IM_MOD_RL_JPEG_.dll
Replies: 1
Views: 4911

Re: Help UnableToLoadModule IM_MOD_RL_JPEG_.dll

Hi if you are still having issues, run a dependency walker against your DLL, and see if you are missing additional dependencies.
by albertisi
2015-06-04T14:57:51-07:00
Forum: Bugs
Topic: Converting grayscale png affects bit depth
Replies: 6
Views: 8781

Re: Converting grayscale png affects bit depth

Yes Glen, I was complaining about it...
by albertisi
2015-06-04T13:46:55-07:00
Forum: Bugs
Topic: Converting grayscale png affects bit depth
Replies: 6
Views: 8781

Re: Converting grayscale png affects bit depth

Thank you! I already PM Glen.
by albertisi
2015-06-04T11:29:45-07:00
Forum: Bugs
Topic: Converting grayscale png affects bit depth
Replies: 6
Views: 8781

Converting grayscale png affects bit depth

Hi, I have 2 test scenarios: First converting 16 bit Grayscale produces, 48 bit RGB. Second converting 8 bit Grayscale produces, 24 bit RGB. Tested using this image: 16 bit grayscale: http://cosmin.users.sourceforge.net/testing/lena_16g_lin.png 8 bit grayscale: http://upload.wikimedia.org/wikipedia/...
by albertisi
2015-06-04T11:19:53-07:00
Forum: Bugs
Topic: Read a grayscale png.
Replies: 20
Views: 19115

Re: Read a grayscale png.

How is the bit depth on that grayscale.png ?
Before and after conversion ?
by albertisi
2015-05-07T10:12:50-07:00
Forum: Bugs
Topic: Issue: Settings are not preserved
Replies: 2
Views: 2892

Re: Issue: Settings are not preserved

1. Ok thanks. -> But it seems that logic to disambiguate and "streamline/improve" setup could escape that. Since we have an option not to provide image.magick("ImageFormat"), and IM should figure out which format the image is auto-magically when writing it out to file with file e...
by albertisi
2015-05-06T12:11:19-07:00
Forum: Bugs
Topic: Issue: Settings are not preserved
Replies: 2
Views: 2892

Issue: Settings are not preserved

multiple issues with settings. First, i cannot set PNG format to PNG16. Second, if i set PNG8 and i have a grayscale PNG 8 bit image, i cannot set colorspace to GRAYColorspace, i cannot set type GrayscaleType, and i cannot set quantizeColorSpace GRAYColorspace. It seems all those settings are gettin...
by albertisi
2015-05-06T11:59:08-07:00
Forum: Bugs
Topic: Possible bug: Resolution Units
Replies: 2
Views: 2691

Re: Possible bug: Resolution Units

Thank you,
i looked at my old posts and re-posted it here.
-Sorry my mistake
by albertisi
2015-05-06T11:13:59-07:00
Forum: Bugs
Topic: Possible bug: Resolution Units
Replies: 2
Views: 2691

Possible bug: Resolution Units

I am using Magick C++ API, to read and write PNG format files. I have an image that i save with resolution and resolution unit like this: someImage.density(Geometry(resolution, resolution)); someImage.resolutionUnits(MagickCore::ResolutionType::PixelsPerCentimeterResolution); someImage.write(imagePa...
by albertisi
2014-09-19T10:45:35-07:00
Forum: Magick++
Topic: Resolution units
Replies: 8
Views: 17118

Re: Resolution units

@fmw42 i am setting density, and units, as in my original post. I debugged image magic, and the problem is during the retrieval of resolutionUnits from the image. After i read the image, i call to return resolution units In Image.cpp this code gets executed Magick::ResolutionType Magick::Image::reso...
by albertisi
2014-08-29T06:27:45-07:00
Forum: Magick++
Topic: Resolution units
Replies: 8
Views: 17118

Re: Resolution units

Anyone had this problem besides me?
by albertisi
2014-08-11T05:02:47-07:00
Forum: Magick++
Topic: Resolution units
Replies: 8
Views: 17118

Re: Resolution units

I am reading and writing PNG format image.

-Albert
by albertisi
2014-08-08T12:55:29-07:00
Forum: Magick++
Topic: Resolution units
Replies: 8
Views: 17118

Re: Resolution units

My OS is Win 7. ImageMagick Version 6.8.9
by albertisi
2014-07-29T08:13:58-07:00
Forum: Magick++
Topic: Resolution units
Replies: 8
Views: 17118

Resolution units

I have an image that i save with resolution and resolution unit like this: someImage.density(Geometry(resolution, resolution)); someImage.resolutionUnits(MagickCore::ResolutionType::PixelsPerCentimeterResolution); someImage.write(imagePath); Once i read the same image right after, my resolution unit...