Search found 18 matches

by syl_leroux
2018-09-28T11:36:13-07:00
Forum: Users
Topic: PDF to PNG conversion is non-deterministic
Replies: 5
Views: 1761

Re: PDF to PNG conversion is non-deterministic

Got it: I need to exclude *both* the `date` and `time` chunks: $convert in.pdf -define png:exclude-chunk=time,date out1.png $ #No more date/time info in the PNG metadata: $exiftool -G -e -n out1.png | grep -i date [File] File Modification Date/Time : 2018:09:28 20:34:12+02:00 [File] File Access Date...
by syl_leroux
2018-09-28T11:26:04-07:00
Forum: Users
Topic: PDF to PNG conversion is non-deterministic
Replies: 5
Views: 1761

Re: PDF to PNG conversion is non-deterministic

Sorry @snibgo, I missed your answer: By default, PNG outputs contain date metadata. To exclude it, use "-define png:exclude-chunk=date". Thank you! That still requires a second pass with ExitTool since the "Modify Date" metadata remains present in the output: $ convert in.pdf -define png:exclude-chu...
by syl_leroux
2018-09-28T11:21:01-07:00
Forum: Users
Topic: PDF to PNG conversion is non-deterministic
Replies: 5
Views: 1761

Re: PDF to PNG conversion is non-deterministic

I found a workaround: # Metadata name seems to be case-sensitive! convert in.pdf -set datecreate "" -set "Modify Date" "" -set "datemodify" "" out1.png exiftool -G -e -n out1.png [ExifTool] ExifTool Version Number : 10.40 [...] [PNG] Pixel Units : 0 [PNG] Datecreate : [PNG] Datemodify : [PNG] Modify...
by syl_leroux
2018-09-28T10:54:40-07:00
Forum: Users
Topic: PDF to PNG conversion is non-deterministic
Replies: 5
Views: 1761

Re: PDF to PNG conversion is non-deterministic

Ok, with further investigations it appears the embedded metadata are different (creation time) : diff <(hexdump -C out0.png) <(hexdump -C out1.png) 10,11c10,11 < 00000090 3e 00 00 00 07 74 49 4d 45 07 e2 09 1c 13 29 27 |>....tIME.....)'| < 000000a0 7f ab ad d6 00 00 00 0a 49 44 41 54 08 d7 63 60 |.....
by syl_leroux
2018-09-28T10:51:18-07:00
Forum: Users
Topic: PDF to PNG conversion is non-deterministic
Replies: 5
Views: 1761

PDF to PNG conversion is non-deterministic

I noticed if I convert the same PDF to several PNG, the PNG files are different according to the `diff` tool. Steps to reproduce: convert xc:red in.pdf convert in.pdf out0.png convert in.pdf out1.png diff out?.png -->Binary files out0.png and out1.png differ In my use case, this is an issue since th...
by syl_leroux
2018-09-24T05:08:10-07:00
Forum: Bugs
Topic: Documentation: broken link
Replies: 3
Views: 3305

Re: Documentation: broken link

Thank you for the reply @magick.

I regularly read the "Usage" pages since many years--and never realized they were maintained by only one person outside of the main project!

I will directly contact Anthony by mail since I spot another broken link.
-Sylvain
by syl_leroux
2018-09-23T12:13:28-07:00
Forum: Users
Topic: Flatten multiple layers, all centered
Replies: 3
Views: 1864

Re: Flatten multiple layers, all centered

;)
Thank you @snibgo!
by syl_leroux
2018-09-23T11:19:34-07:00
Forum: Users
Topic: Flatten multiple layers, all centered
Replies: 3
Views: 1864

Re: Flatten multiple layers, all centered

I found a solution using FX escape sequences and `-layers merge` : convert 'bkgnd.png' \ 'legal.png' \ 'c2a827c66a5b37625c95626f8b84d07b-parts1.png' \ -set page '+%[fx:-w/2]+%[fx:-h/2]' \ '-layers merge' \ '+repage' \ 'c2a827c66a5b37625c95626f8b84d07b.png' Let me know if there are other solutions an...
by syl_leroux
2018-09-23T10:54:43-07:00
Forum: Bugs
Topic: Documentation: broken link
Replies: 3
Views: 3305

Re: Documentation: broken link

the correct link should be:

https://www.imagemagick.org/Usage/basics/#page

(basics with an `s`)
by syl_leroux
2018-09-23T10:52:54-07:00
Forum: Bugs
Topic: Documentation: broken link
Replies: 3
Views: 3305

Documentation: broken link

I post in this section, but I'm not sure this is the right place for documentation issues. Anyway: On https://www.imagemagick.org/Usage/compose/#geometry: Layer Canvas/Page Offsets The composition of Layered Images use a very different philosophy. All the images (as many as you like) are treated equ...
by syl_leroux
2018-09-23T10:45:08-07:00
Forum: Users
Topic: Flatten multiple layers, all centered
Replies: 3
Views: 1864

Flatten multiple layers, all centered

Hi everyone, I have N layers I would like to flatten in only one image. The layers are of various size and I would like them to be all centered in the final image. And I wasn't able to to find a solution to do that using the `-layers flatten` operator. convert 'bkgnd.png' \ 'legal.png' \ 'c2a827c66a...
by syl_leroux
2018-08-14T10:05:05-07:00
Forum: Users
Topic: How to disable policy on case by case basis?
Replies: 4
Views: 1631

Re: How to disable policy on case by case basis?

Thnaks for the idea @snibgo:
Or create another installation of IM, with its own policy.xml.
I will do that. Or maybe run the current install in a chrooted environment.
by syl_leroux
2018-08-14T08:29:34-07:00
Forum: Users
Topic: How to disable policy on case by case basis?
Replies: 4
Views: 1631

Re: How to disable policy on case by case basis?

policy.xml sets limits that can't be relaxed.
I was afraid of that.

Does that mean if I need more resources to handle an exceptional use case, I must relax the policy for the whole system first?
by syl_leroux
2018-08-14T07:51:53-07:00
Forum: Users
Topic: How to disable policy on case by case basis?
Replies: 4
Views: 1631

How to disable policy on case by case basis?

Hi everyone, Is there a way to disable the "memory" policy for a specific instance of `convert` without affecting other applications using ImageMagick? More specifically, I have a large amount of PNG image to convert to an animated gif. This is a one-shot operation--and the workstation has more than...
by syl_leroux
2017-04-14T12:58:49-07:00
Forum: Users
Topic: Out-of-gamut pixels handling during RGB->CMYK conversion
Replies: 7
Views: 3104

Re: Out-of-gamut pixels handling during RGB->CMYK conversion

Thank you a lot for all your comments and remarks Alan.

With your help, I managed to export my images as CMYK while minimizing color differences with the original RGB design.
Now this is in the hands of the printing shop. This will be the final test--result is a week or so!