Search found 1147 matches

by glennrp
2017-01-19T20:02:30-07:00
Forum: Users
Topic: -define png:size={size}?
Replies: 11
Views: 10123

Re: -define png:size={size}?

It would require a small modification to libpng in libpng/pngpread.c line 683, test for last_pass instead of 6, and in libpng/pngread.c line 3262, passes=last_pass instead of PNG_INTERLACE_ADAM7_PASSES then we could use -define png:last_pass={pass} where pass=1,3, or 5. But I doubt that you'd like t...
by glennrp
2017-01-10T11:55:59-07:00
Forum: Bugs
Topic: DrawImage changes to higher BitDepth
Replies: 11
Views: 6406

Re: DrawImage changes to higher BitDepth

As others said, you need to turn off antialiasing.
by glennrp
2016-12-19T11:47:47-07:00
Forum: Developers
Topic: lossless jpeg compression
Replies: 3
Views: 6856

Re: lossless jpeg compression

Regular JPEG with quality 100 is "almost lossless". You probably cannot see the difference but you can measure it.
by glennrp
2016-12-19T08:10:05-07:00
Forum: Developers
Topic: lossless jpeg compression
Replies: 3
Views: 6856

Re: lossless jpeg compression

There is more to it. You must install a JPEG library that is capable of lossless compression/decompression, then use "-quality 100" to use it. See https://en.wikipedia.org/wiki/Lossless_JPEG. The WEBP, JPEG-LS, and JPEG-2000 libraries support lossless JPEG. But if you need lossless compression you'r...
by glennrp
2016-12-18T07:09:45-07:00
Forum: Users
Topic: Make png image semi transparent
Replies: 24
Views: 16878

Re: Make png image semi transparent

with this example also i have a problem under windows .\bin\magick -size 320x100 xc:lightblue -font georgia -pointsize 72 ^ -draw "fill black text 27,67 "Led Zeppelin" ^ text 25,68 "Led Zeppelin" ^ text 23,67 "Led Zeppelin" ^ text 22,65 "Led Zeppelin" ^ text 23,63 "Led Zeppelin" ^ text 25,62 "Led Z...
by glennrp
2016-12-14T13:16:55-07:00
Forum: Users
Topic: Make png image semi transparent
Replies: 24
Views: 16878

Re: Make png image semi transparent

Artman wrote:I have one more question. if its possible use this technique in GIF?
I never see semi transparent gif and i try now but its give just white image.
GIF only offers full transparency. To get partial transparency you'd need to convert your GIF to PNG and then proceed.
by glennrp
2016-12-07T13:31:19-07:00
Forum: Bugs
Topic: Error since ImageMagick 6.7.7-10 2016-11-29
Replies: 10
Views: 5906

Re: Error since ImageMagick 6.7.7-10 2016-11-29

Don't let the date 2016-11-29 fool you. That's the date you installed your copy. ImageMagick-6.7.7-10 was released 2012-06-28.
by glennrp
2016-12-07T12:22:13-07:00
Forum: Bugs
Topic: 1-bit grayscale to TrueColor not working
Replies: 4
Views: 3899

Re: 1-bit grayscale to TrueColor not working

Your original image isn't a one-bit grayscale image; it's a 16-bit Gray-alpha image in which the 8-bit Gray component is always black and the 8-bit alpha component carries the actual image of the text. You can make a visible image by doing magick working.png -background white -flatten png24:flattene...
by glennrp
2016-11-24T17:50:17-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 6548

Re: png -sample changes png format

If you want rgba8888 then ask for "png32:%%a.png" as output. You don't need to define the png:bit-depth because png32 implies bit-depth=8.
by glennrp
2016-11-24T15:29:29-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 6548

Re: png -sample changes png format

fmw42 wrote:Then try from http://www.imagemagick.org/Usage/formats/#png_write

-define png:bit-depth=24

just before the output
png:bit-depth must be 1, 2, 4, 8, or 16. An attempt to set it to 24 will be silently ignored.
by glennrp
2016-11-24T07:36:15-07:00
Forum: Bugs
Topic: Cannot extract ICC color profile
Replies: 4
Views: 7187

Re: Cannot extract ICC color profile

I am using ImageMagick 6.8.6-0 and I am getting the same error. Was it fixed in this version? Yes, it seems so, according to the ChangeLog: 2012-08-28 6.7.9-3 Cristy <quetzlzacatenango@image...> * Don't remove color profile when setting the image colorspace (reference http://www.imagemagick.org/dis...
by glennrp
2016-11-24T06:30:44-07:00
Forum: Users
Topic: png -sample changes png format
Replies: 13
Views: 6548

Re: png -sample changes png format

The PNG developer would like to know what version of IM you are using and on what platform (Windows, I suppose, because of the %%'s).
by glennrp
2016-11-22T16:14:51-07:00
Forum: Users
Topic: Center Images next to each other
Replies: 2
Views: 2929

Re: Center Images next to each other

The "montage" utility doesn't have the capability you want. You'll need to make two separate montages, one for each row, and extend any 1- or 2-image row to full width, then use "convert -append" or "magick -append" to put the rows together. For greater control over the layout (but more work for you...
by glennrp
2016-11-20T12:19:35-07:00
Forum: Bugs
Topic: [RESOLVED] IM7 "-draw image over ..." fails, IM6 succeeds
Replies: 5
Views: 5264

[RESOLVED] Re: IM7 "-draw image over ..." fails, IM6 succeeds

Verified that this morning's 7.0.3-8 beta works properly.
by glennrp
2016-11-19T14:39:31-07:00
Forum: Bugs
Topic: [RESOLVED] IM7 "-draw image over ..." fails, IM6 succeeds
Replies: 5
Views: 5264

Re: IM7 "-draw image over ..." fails, IM6 succeeds

Thanks. Note, fmw, I had also tried using text.gif instead of text.png just to make sure the problem didn't lie in the PNG codec.