Search found 11932 matches

by snibgo
2019-08-08T05:36:04-07:00
Forum: Magick.NET
Topic: How to configure SVG delegate in delegates.xml
Replies: 2
Views: 409

Re: How to configure SVG delegate in delegates.xml

What version of IM, on what platform? I suggest you remove the line about Inkscape from delegates.xml, or comment it out. If IM finds Inkscape on your path, it will use Inkscape, with no need for a line in delegates.xml. Once that is done, run your command. If it doesn't work, add "-verbose" and pas...
by snibgo
2019-08-08T03:44:57-07:00
Forum: Users
Topic: Detect bounding box of characters written by convert
Replies: 3
Views: 548

Re: Detect bounding box of characters written by convert

The PDF has error 403 "Forbidden". If you give the title and author, perhaps the paper is available elsewhere. IM calls a delegate to rasterize text strings. It can do this multiple times to build up a string, which could give the bounding box of each added character. It's a bit messy because glyphs...
by snibgo
2019-08-07T11:10:19-07:00
Forum: Magick.NET
Topic: Best C# Code To Overlay Text on a .JPG Image?
Replies: 5
Views: 1150

Re: Best C# Code To Overlay Text on a .JPG Image?

Pointsize is the size in points (of course). One point is 1/72 of an inch. So the relationship between pointsize and pixels isn't direct. To calculate pointsize from a pixel size you also need to know the density, pixels per inch.
by snibgo
2019-08-07T10:19:36-07:00
Forum: Users
Topic: Identify unique colors only
Replies: 9
Views: 1046

Re: Identify unique colors only

Sorry, I don't know PHP or IMagick.
by snibgo
2019-08-07T10:15:41-07:00
Forum: Bugs
Topic: Possible bug with filename handling (Windows x86)
Replies: 5
Views: 799

Re: Possible bug with filename handling (Windows x86)

Since this is being used inside a script, I don't know ahead of time what the filenames will contain. I agree that IM should correct this problem, but I don't agree with your statement. What happens if you have a filename like "my.gif[0]"? If you accept files from any users, it is good practise to ...
by snibgo
2019-08-07T10:10:02-07:00
Forum: Users
Topic: Identify unique colors only
Replies: 9
Views: 1046

Re: Identify unique colors only

As Fred says. You can remap to the input image to ensure no new colours are added:

Code: Select all

magick in.png +write mpr:INP -resize 200% -remap mpr:INP out.png
by snibgo
2019-08-07T09:20:44-07:00
Forum: Users
Topic: Identify unique colors only
Replies: 9
Views: 1046

Re: Identify unique colors only

See http://www.imagemagick.org/script/escape.php

Code: Select all

magick rose: -format %k info:
by snibgo
2019-08-06T08:02:36-07:00
Forum: Users
Topic: cache exhausted
Replies: 6
Views: 1167

Re: cache exhausted

I guess you changed the formatting of memory listings? I don't understand why GiB? Your (patched) IM is reading "1gb" and reporting that as "1B". This will force pixel caches to disk. But your disk limit is set to "16eb", which IM is reporting as "16B", so there is insufficient room on disk for the...
by snibgo
2019-08-05T17:33:49-07:00
Forum: Users
Topic: Delege failed for Centos7 yum install
Replies: 2
Views: 801

Re: Delege failed for Centos7 yum install

What was your IM command?

Does the ffmpeg command work by itself?
jdmoore wrote:Also, I am trying to convert *ppm files, but this appears to show it is trying to convert *jpg?
As far as I know, ffmpeg can't read PPM files. So IM first converts to a format that ffmpeg can read.
by snibgo
2019-08-05T13:40:01-07:00
Forum: Users
Topic: cache exhausted
Replies: 6
Views: 1167

Re: cache exhausted

Re patches: thanks, yes, I keep forgetting.
by snibgo
2019-08-05T12:39:38-07:00
Forum: Users
Topic: cache exhausted
Replies: 6
Views: 1167

Re: cache exhausted

You upgraded to 6.7.8-9? I suggest a more recent version.

Your "list resource" seems to show the Area is limited to 1B (one byte), and Disk to 16B (sixteen bytes). Perhaps the entries in policy.xml are being misread. Try changing "gb" to "GiB".
by snibgo
2019-08-04T13:43:27-07:00
Forum: Users
Topic: Failure to Execute convert with tmap in R
Replies: 7
Views: 1503

Re: Failure to Execute convert with tmap in R

I downloaded from the main ImageMagick site the version for Windows 64-bit: ImageMagick-7.0.8-58-Q16-x64-dll.exe. I then installed through the standard UI with options to put it in the system path and old versions. That seems fine. And we have established that you are not accidentally running Micro...
by snibgo
2019-08-03T07:56:42-07:00
Forum: Users
Topic: Failure to Execute convert with tmap in R
Replies: 7
Views: 1503

Re: Failure to Execute convert with tmap in R

convert logo: logo.gif generates nothing--no warning, but also no product. Did you issue that command at the Windows Console aka Command Line? If so, then don't worry about R and tmap for now, because ImageMagick isn't working properly. My mistake, I should have put a colon after NULL: convert rose...
by snibgo
2019-08-03T02:30:51-07:00
Forum: Users
Topic: gif speed is very fast
Replies: 2
Views: 944

Re: gif speed is very fast

I don't think IM will automatically set the delay rate. You can get this from ffmpeg or ffprobe: ffprobe ball4.mov : : Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ball4.mov': Metadata: major_brand : qt minor_version : 512 compatible_brands: qt creation_time : 1970-01-01 00:00:00 Duration: 00:00:00.04, ...