Search found 23837 matches

by fmw42
2018-10-16T23:43:14-07:00
Forum: Users
Topic: pdf to image problem
Replies: 4
Views: 50

Re: pdf to image problem

Code: Select all

magick -density 288 convert 01.pdf -resize 25% 01.png
Nominal density is 72. So 72*4=288 and thus I resize by the inverse of 4 = 1/4 = 25%
by fmw42
2018-10-16T23:19:03-07:00
Forum: Users
Topic: pdf to image problem
Replies: 4
Views: 50

Re: pdf to image problem

You need to install the Ghostscript delegate into your Imagemagick. Imagemagick cannot find Ghostscript.
by fmw42
2018-10-16T23:17:50-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 6
Views: 93

Re: Get coordinates Top, Left, size of some areas

I am not sure how to do that unless you can color them first so they are filled in. If the lines were separate and did not connect between the box areas AND there were no extended lines, then then could be identified. But the connected components will get the bounding boxes including the extended li...
by fmw42
2018-10-16T19:31:31-07:00
Forum: Users
Topic: Is there a proper fix for DSA-4316?
Replies: 1
Views: 34

Re: Is there a proper fix for DSA-4316?

Have you tried editing the policy.xml file to uncomment this line

Code: Select all

 <!-- <policy domain="module" rights="none" pattern="{PS,PDF,XPS}" /> -->
and change rights to read|write

Code: Select all

 <policy domain="module" rights="read|write" pattern="{PS,PDF,XPS}" />
by fmw42
2018-10-16T19:28:13-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 6
Views: 93

Re: Get coordinates Top, Left, size of some areas

Best if you provide an example image so I understand the issue.
by fmw42
2018-10-16T15:08:21-07:00
Forum: Users
Topic: Watermarking images with proportional watermark
Replies: 4
Views: 70

Re: Watermarking images with proportional watermark

snibgo's solution requires IM 7 to do inline computation for the -resize from the -set option. GeeMack's solution will work on IM 6, because distort understands these computations where -resize does not. IM 7 has more features, but you must use magick rather than convert. There are a few other oddit...
by fmw42
2018-10-16T15:03:09-07:00
Forum: Users
Topic: Get coordinates Top, Left, size of some areas
Replies: 6
Views: 93

Re: Get coordinates Top, Left, size of some areas

In Unix bash syntax starting with your black and white image:' convert Black_and_White.jpeg -threshold 50% -type bilevel \ -define connected-components:verbose=true \ -define connected-components:area-threshold=2000 \ -define connected-components:mean-color=true \ -connected-components 4 \ +write tm...
by fmw42
2018-10-16T13:36:23-07:00
Forum: Users
Topic: Converting layered AI File to PNG
Replies: 5
Views: 98

Re: Converting layered AI File to PNG

It is likely due to an older version of Ghostscript. You can check your version with PHP exec() calling gs --version. <?php exec("gs --version",$out,$returnval); foreach($out as $text) {echo "$text<br>";} ?> If you find it old, then you should upgrade it. If you are on a hosted platform, then you wi...
by fmw42
2018-10-16T09:29:01-07:00
Forum: Users
Topic: bootlogo colour change impossible :(
Replies: 14
Views: 467

Re: bootlogo colour change impossible :(

I do not know any tool that will change the BitDepth. The BMP format link I mentioned above says it is not changeable.
by fmw42
2018-10-16T09:26:24-07:00
Forum: Users
Topic: Converting layered AI File to PNG
Replies: 5
Views: 98

Re: Converting layered AI File to PNG

This works fine for me on Imagemagick 6.9.10.12 Q16 Mac OSX with Ghostscript 9.24.

Code: Select all

convert logo_oetwil_ps.ai ai.png
Check your version of Ghostscript and be sure it is current.

For IM 7, use magick rather than convert.
by fmw42
2018-10-16T09:24:09-07:00
Forum: Users
Topic: How do I convert jpg image to tiff with 300DPI and reduce noise to 100%?
Replies: 7
Views: 248

Re: How do I convert jpg image to tiff with 300DPI and reduce noise to 100%?

It is properly -units pixelsperinch. Sorry my automatic spell corrector change what I typed and I did not notice it.
by fmw42
2018-10-15T23:22:04-07:00
Forum: Users
Topic: How do I convert jpg image to tiff with 300DPI and reduce noise to 100%?
Replies: 7
Views: 248

Re: How do I convert jpg image to tiff with 300DPI and reduce noise to 100%?

Why do you need to resample the image (-resize or -scale)? Why not just change the density so that it prints to the desired print size. You would only need to resize if you desire a smaller file size. convert image -units pixelsperinch -density XX result Where you compute the density give the pixels...
by fmw42
2018-10-15T19:33:29-07:00
Forum: Users
Topic: Change policy via command argument or environment variable
Replies: 3
Views: 173

Re: Change policy via command argument or environment variable

The policy for PDF was recently added due to recently uncovered security issue with the processing of PDF by Ghostscript. Though I hear that the Ghostscript issue may have been fixed subsequently. So you likely need to bring that to the attention of your hosting provider and see if they will edit th...
by fmw42
2018-10-15T19:31:10-07:00
Forum: Users
Topic: Replace all colours in image using another image
Replies: 2
Views: 57

Re: Replace all colours in image using another image

I am not sure I understand. Imagemagick can replace the input colors with the nearest colors from the palette image. I am not sure where the red comes in. In any event please always provide your IM version and platform, if you already use it and your images. You may post to some free image hosting s...
by fmw42
2018-10-15T19:27:36-07:00
Forum: Users
Topic: Converting layered AI File to PNG
Replies: 5
Views: 98

Re: Converting layered AI File to PNG

Please always provide your Imagemagick version and Platform/OS. Also provide your input AI file so we can check out the issue.