Search found 23606 matches

by fmw42
2018-08-15T16:28:29-07:00
Forum: Users
Topic: Removing a shadow from an image
Replies: 2
Views: 15

Re: Removing a shadow from an image

Shadows are particularly hard to remove as per isolating the objects from the background. I am not sure there is any good way to do that in Imagemagick when the shadow color is close to the object color. I will defer to anyone with a good suggestion. You could try one of tools such as clipping magic...
by fmw42
2018-08-15T16:25:27-07:00
Forum: Users
Topic: Reading MVG files
Replies: 1
Views: 17

Re: Reading MVG files

try the following:

Code: Select all

convert    MSVG:mvg_circles2.mvg    mvg_image.gif
by fmw42
2018-08-15T08:48:28-07:00
Forum: Users
Topic: extracting biggest square from a rotated image
Replies: 7
Views: 141

Re: extracting biggest square from a rotated image

GeeMack, I think you are assuming he knows the rotation angle and is starting with a normally oriented image and rotating it. I am assuming that was only and example an that he has some image with an unknown rotation angle and wants basically an inner crop. I think the OP will need to clarify this s...
by fmw42
2018-08-15T08:29:52-07:00
Forum: Users
Topic: extracting biggest square from a rotated image
Replies: 7
Views: 141

Re: extracting biggest square from a rotated image

My script is at my link in my signature below. Be sure to read the Pointers for Use on the home page. The script needs to threshold the image to get a good square or rectangle separated from the background in order to work. It does not work on arbitrary shapes.
by fmw42
2018-08-15T08:23:04-07:00
Forum: Magick.NET
Topic: Copy EXIF, IPTC and XMP metadata from one JPEGfile to another
Replies: 1
Views: 36

Re: Copy EXIF, IPTC and XMP metadata from one JPEGfile to another

Imagemagick does not write meta data. You have found one method that gets around that, but it also the limitations that you also have found.

I do not know if Magick.NET has any special code for that as I do not use it.

I would recommend you use EXIFTOOL to do your meta data copying.
by fmw42
2018-08-14T21:43:20-07:00
Forum: Users
Topic: resurrecting gigapixel image from 256px jpgs - "unable to open pixel cache" and "too many files open"
Replies: 23
Views: 692

Re: resurrecting gigapixel image from 256px jpgs - "unable to open pixel cache" and "too many files open"

All but these first 3 are commented out <policy domain="delegate" rights="none" pattern="*" /> <policy domain="coder" rights="none" pattern="*" /> <policy domain="coder" rights="read|write" pattern="{GIF,JPEG,PNG,WEBP}" /> The default values show up for some of the others by convert -list resource
by fmw42
2018-08-14T19:58:59-07:00
Forum: Users
Topic: resurrecting gigapixel image from 256px jpgs - "unable to open pixel cache" and "too many files open"
Replies: 23
Views: 692

Re: resurrecting gigapixel image from 256px jpgs - "unable to open pixel cache" and "too many files open"

You do have jpeg and tiff listed for delegates. So that aspect is a non-issue. Sorry, I do not know the width limits of TIFF. But there may be width limits in your policy.xml file.
by fmw42
2018-08-14T19:43:37-07:00
Forum: Users
Topic: resurrecting gigapixel image from 256px jpgs - "unable to open pixel cache" and "too many files open"
Replies: 23
Views: 692

Re: resurrecting gigapixel image from 256px jpgs - "unable to open pixel cache" and "too many files open"

In Imagemagick 7, you must preface montage with magick montage. (convert is simply replaced with magick) Though that is not likely the issue here. Did you install all the delegates for jpg and tiff? What do you get from magick -version Does it list JPG and TIF under Delegates? Have you checked and r...
by fmw42
2018-08-14T16:20:46-07:00
Forum: Bugs
Topic: possible bug -loop
Replies: 2
Views: 192

Re: possible bug -loop

This is still off by 1 for -loop > 1 in IM 6.9.10.10 and IM 7.0.8.10.
by fmw42
2018-08-14T16:18:42-07:00
Forum: Bugs
Topic: [Closed] possible bug with %C and %[compression] with TIFF
Replies: 6
Views: 270

Re: possible bug with %C and %[compression] with TIFF

This appears to be fixed in Imagemagick 6.9.10.10 and 7.0.8.10
by fmw42
2018-08-14T09:55:41-07:00
Forum: Users
Topic: Resize Image with restrictions
Replies: 4
Views: 95

Re: Resize Image with restrictions

What is your Imagemagick version? Calculations can be done inline with Imagemagick 7.
by fmw42
2018-08-13T22:28:37-07:00
Forum: Users
Topic: I can't make this script to run in
Replies: 9
Views: 222

Re: I can't make this script to run in

Do you have Ghostscript installed as a delegate to Imagemagick?

Does

Code: Select all

magick -version
or

Code: Select all

magick -list configure
list gs or gslib?
by fmw42
2018-08-13T08:52:24-07:00
Forum: Users
Topic: Command to Mogrify png images created or modified after a certain date only?
Replies: 6
Views: 119

Re: Command to Mogrify png images created or modified after a certain date only?

Your version
ImageMagick 6.9.7-4 Q16 x86_64 20170114
by version is ancient. By patch date, 1/14/2017, it is over a 1 1/2 years old. Check with your Linux distro to see if there is more current patch.
by fmw42
2018-08-12T23:38:31-07:00
Forum: Users
Topic: ImageMagick hangs when resizing png files when running from an AWS Lambda
Replies: 7
Views: 129

Re: ImageMagick hangs when resizing png files when running from an AWS Lambda

-quality values means something different for PNG than for JPG. See https://www.imagemagick.org/script/comm ... hp#quality

Also order of settings and operators is important in IM 7. Put -quality last before the output and after the -thumbnail.