Search found 8887 matches

by anthony
2016-11-16T22:30:36-07:00
Forum: Bugs
Topic: Mathematics, or Blend what working as expected.
Replies: 3
Views: 5652

Mathematics, or Blend what working as expected.

I was just looking through examples and found that the example showing that Blend and Mathematics with the same arguments, producing the same result.... is NOT producing the same result! Double checked and they are indeed not producing the same result! I do not know how long this has been the case o...
by anthony
2016-11-16T16:09:06-07:00
Forum: Users
Topic: [IM7] Easy way to align & append images with overlap?
Replies: 15
Views: 32324

Re: [IM7] Easy way to align & append images with overlap?

Hmm... I was wrong, smush does not slide the images up and down! Swapping the A and V in the previous example (second image remaining smaller) and the 'A' does not slide to the bottom, but remains at the top according to gravity. convert -background none \ -pointsize 72 -fill red label:V \ -pointsiz...
by anthony
2016-11-16T00:44:03-07:00
Forum: Users
Topic: [IM7] Easy way to align & append images with overlap?
Replies: 15
Views: 32324

Re: [IM7] Easy way to align & append images with overlap?

That is a good find.. I Remember when the operator was added. Though it does more than just append with a overlap. It appends images with shape, and allowing one shape to fit into another shape. I believe it will also 'slide' images around a little to try and make them fit together better too. Perha...
by anthony
2016-10-27T19:09:32-07:00
Forum: Users
Topic: Weird results when cropping and resizing
Replies: 10
Views: 8331

Re: Weird results when cropping and resizing

A good summary of normal resize cropping techniques is in IM Examples
Thumbnails...
http://www.imagemagick.org/Usage/thumbnails/#fit

A final summery is in
http://www.imagemagick.org/Usage/thumbn ... it_summery
by anthony
2016-10-26T16:50:35-07:00
Forum: Users
Topic: Crop image from pdf
Replies: 17
Views: 14833

Re: Crop image from pdf

I have always has an interest in extracting the non-vector components (raster images) of a PDF file in there 'native' density. As you should know resizing any raster image always results in a loss of quality, Thus my interest. A quick google search found "pdfimages" from the "xpdf&quo...
by anthony
2016-10-23T18:41:25-07:00
Forum: Users
Topic: [IM7] Easy way to align & append images with overlap?
Replies: 15
Views: 32324

Re: [IM7] Easy way to align & append images with overlap?

Update IM Examples Layering, Append with Overlap http://www.imagemagick.org/Usage/layers/#append_overlap Give it a couple of hours to update. However I would point out that a calculated FX solution while 'not as simple' will also let you append with overlap a whole sequence of images. All the offset...
by anthony
2016-10-20T21:48:20-07:00
Forum: Users
Topic: Fill area with nearest colour from boundary
Replies: 18
Views: 44841

Re: Fill area with nearest colour from boundary

I see the blurs are small enough that the 'diffusion' can't get past because of the the write mask (or restoration of edge pixels). The fast voroni method I en-visualised was using a distance morphology much like... Constrained Distance http://www.imagemagick.org/Usage/morphology/#distance_constrain...
by anthony
2016-10-19T19:28:07-07:00
Forum: Users
Topic: Fill area with nearest colour from boundary
Replies: 18
Views: 44841

Re: Fill area with nearest colour from boundary

snibgo... Are you sure your blurFill.bat doesn't 'leak' across boundaries? This is the difference between a shepard's fill and a color diffusion See... the 'leak' example on... http://www.imagemagick.org/Usage/canvas/#shepards_leakage If color diffusion was used on that example only the areas betwee...
by anthony
2016-10-19T19:20:24-07:00
Forum: Users
Topic: Text to caption/pango with several font options
Replies: 4
Views: 6269

Re: Text to caption/pango with several font options

No. Pango is a completely different system. Just a library that IM passes the request to. You will need to specify the resolution and pointsize you want. However. You can use caption, and then get IM to report the pointsize it chose for the current resoltion. IM generally saves discovered informatio...
by anthony
2016-10-18T18:58:09-07:00
Forum: Users
Topic: Fill area with nearest colour from boundary
Replies: 18
Views: 44841

Re: Fill area with nearest colour from boundary

Nice example snibgo. The main problem with the technique is that is it Ultra Slow! I would like to use a morphology operator that sets color in the color channels while working out distance in a hidden background channel to replace the pixel color when a 'shorter' distance is found. This should be V...
by anthony
2016-10-18T00:00:21-07:00
Forum: Users
Topic: Fill area with nearest colour from boundary
Replies: 18
Views: 44841

Re: Fill area with nearest colour from boundary

An alternative method may be the use of sparse color as a fill operator. http://www.imagemagick.org/Usage/canas/#sparse_fill You would apply it using the 'Voronoi' technqiue. basically you use edgein to get the edge pixels then convert that into a the points to use for -sparse color. And overlay the...
by anthony
2016-08-12T00:27:24-07:00
Forum: Users
Topic: Animated gif with slide transition?
Replies: 10
Views: 12085

Re: Animated gif with slide transition?

Hmm I didn't know you could pull just one image out of a list saved to MPR. That is useful to know! Added this to the examples.. convert -size 100x60 -delay 100 \ gradient:green-yellow gradient:blue-purple \ gradient:orange-white gradient:red-black \ -write mpr:stack -delete 0--1 \ \ mpr:stack'[0]' ...
by anthony
2016-08-10T23:49:07-07:00
Forum: Users
Topic: Animated gif with slide transition?
Replies: 10
Views: 12085

Re: Animated gif with slide transition?

An alternative idea. is to make use of the GIF 'previous' disposal. That is start with one image with a disposal of 'none', then all later frames are just the part of the image that 'overlays' that static background, as partial frames. Should be a lot smaller and faster than generating the full imag...
by anthony
2016-08-10T23:37:14-07:00
Forum: Users
Topic: Animated gif with slide transition?
Replies: 10
Views: 12085

Re: Animated gif with slide transition?

Distort can be used to create a animated crop in IMv6 as it was shown above. But you should be able to do the same thing directly using crop in IMv7 "magick" But I do not have time (or setup) to work it out at this time. Remember the big feature of IMv7 is that 'percent escapes' should be ...