Search found 718 matches

by GeeMack
2016-08-26T15:30:11-07:00
Forum: Users
Topic: failing to convert specific pdf to png
Replies: 8
Views: 5395

Re: failing to convert specific pdf to png

It appears to be a transparent image of the proper size. Did you make sure to set a background color and flatten the image. If I just run a straight through conversion like this... magick -density 1200 Hershey_Hiring_in_San_Leandro.pdf Hershey_Hiring_in_San_Leandro.png ... I get the basic document ...
by GeeMack
2016-08-26T13:40:55-07:00
Forum: Users
Topic: failing to convert specific pdf to png
Replies: 8
Views: 5395

Re: failing to convert specific pdf to png

The original document is available at: http://files.justmyneighbors.com/documents/10863/original/Hershey_Hiring_in_San_Leandro.pdf Any ideas? Using IM7 on Windows 10 and converting the PDF with this command... magick -density 1200 -background white ^ Hershey_Hiring_in_San_Leandro.pdf -flatten Hersh...
by GeeMack
2016-08-24T18:50:11-07:00
Forum: Users
Topic: Command example to create animated wave...
Replies: 2
Views: 2649

Command example to create animated wave...

This isn't a question or problem, for a change. :) I just thought I'd share this fairly simple effect I worked out with IM7. It turns any image into an animated GIF with a ripple effect like a flag waving. Here's an example of the output... https://dl.dropboxusercontent.com/u/35678676/_usflagwavy.gi...
by GeeMack
2016-08-21T11:59:10-07:00
Forum: Users
Topic: perform imagemagick rounded corners operation on all images in a folder
Replies: 6
Views: 10801

Re: perform imagemagick rounded corners operation on all images in a folder

I hope someone has a solution. How it should work is the same as most of the other stuff I do. I just drop a heap of files of various sizes into a folder, click the script and go make a coffee. I'm using ImageMagick 6.9.3-9 on Windows 10, and the command below produces the same results as your seri...
by GeeMack
2016-08-18T20:23:18-07:00
Forum: Users
Topic: composite over gif
Replies: 9
Views: 9278

Re: composite over gif

alealvaro wrote:I need to the PNG overlay over the animated gif, aligned to the right. Thanks in advance!
Something like this should work...

Code: Select all

convert bugatti-3-a-o.gif null: -gravity east sidepic_link.png -layers composite bugatti-new.gif
by GeeMack
2016-08-16T19:56:52-07:00
Forum: Users
Topic: Batch blur images in folder
Replies: 8
Views: 6107

Re: Batch blur images in folder

Another way to repeat the blur operation on a particular location is to run something like this inside the "for" loop... ... magick -gravity south $img \ \( +clone -crop 550x40+0+10 -background none -flatten -blur 0x6 \) -composite /output_directory/$img ... That starts by telling the imag...
by GeeMack
2016-08-16T12:06:04-07:00
Forum: Users
Topic: Batch blur images in folder
Replies: 8
Views: 6107

Re: Batch blur images in folder

We can also do this with "-region", eg: %IM%convert toes.png -gravity south -region 100%x30% -blur 0x3 b.png For some reason I thought "-region" hadn't been implemented in IM7 yet, but trying that command with 7.0.2-9 on Windows 10 64 it seems to work perfectly. I used the "...
by GeeMack
2016-08-16T11:26:57-07:00
Forum: Users
Topic: Batch blur images in folder
Replies: 8
Views: 6107

Re: Batch blur images in folder

Assuming you only want JPGs and they are all the same size (for your blur image), then ... If the images are all the same size and the blurred section is in the same location on all of them, the command inside the loop could be as simple as this... ... magick $img -gravity south -background none \ ...
by GeeMack
2016-08-16T09:52:40-07:00
Forum: Users
Topic: Correcting Alignment of an image series
Replies: 11
Views: 8906

Re: Correcting Alignment of an image series

I believe the problem is, imagine watching a record spin on a turntable, from the side, except the cheap record has it's hole off-centre so it wavers to the side as you watch it spin. One way to fix that is a type of crop that can search the left/right edges for "non-white" and crop at th...
by GeeMack
2016-08-11T23:26:36-07:00
Forum: Users
Topic: Animated gif with slide transition?
Replies: 10
Views: 12085

Re: Animated gif with slide transition?

Wonder why I never thought of it years ago! That looks pretty useful. Here is an example with IM7 in Windows syntax. It shows how to set the delays so each full image pauses a fraction of a second before the next wipe begins. It also shows how to make the wipe come from the left, top, right, or bot...
by GeeMack
2016-08-08T17:52:31-07:00
Forum: Users
Topic: Animated gif with slide transition?
Replies: 10
Views: 12085

Re: Animated gif with slide transition?

i expect there could be more elegant ways to do this, not sure if there's some kind of loop construct that can be used to iterate the individual clone/crop commands? but for now this works and I can write a script to generate the full command based on desired input/output. Using ImageMagick 7 on Wi...
by GeeMack
2016-08-05T07:02:35-07:00
Forum: Users
Topic: Can imagemagick fix truncated or incomplete images
Replies: 3
Views: 7093

Re: Can imagemagick fix truncated or incomplete images

Is there anything imagemagick to fix that error so that we can at least operate on it? I couldn't get ImageMagick 7 to open the file on a Windows 10 machine, but I can open it using IrfanView . It makes a 3648x2736 image that appears to have some missing rows on one edge and one end. It also seems ...
by GeeMack
2016-08-03T12:36:48-07:00
Forum: Users
Topic: Creating a Windows icon file for "Devices and Printers"
Replies: 6
Views: 8520

Re: Creating a Windows icon file for "Devices and Printers"

I think that the -colors switch is not changing the bit depth the way that I expected. Maybe try something ike this to set the bit depths on the layers... convert input.png -write mpr:iconimg +delete ^ ( mpr:iconimg -resize 256x256 ) ^ ( mpr:iconimg -resize 48x48 ) ^ ( mpr:iconimg -resize 48x48 -de...
by GeeMack
2016-08-03T09:03:10-07:00
Forum: Users
Topic: Stitching together a large image with Magick++
Replies: 4
Views: 3383

Re: Stitching together a large image with Magick++

It looks like I would have to generate my background image, and then use the composite function to stitch all of the images onto it. Compositing onto a background is one way to approach that, but there are other, often more effective ways to attach images to each other with ImageMagick, aligned sid...
by GeeMack
2016-08-02T09:02:12-07:00
Forum: Users
Topic: colorize semi-transparent png
Replies: 12
Views: 6618

Re: colorize semi-transparent png

Source image - http://i.stack.imgur.com/JBetn.png Desired result (red overlay) - http://i.stack.imgur.com/UsHFX.png This is easy to achieve in Photoshop by applying a layer effect > color overlay > blend mode: multiply, but I can't seem to work out how to apply this programmatically. Can somebody p...