Search found 11 matches

by jauson
2017-09-13T15:30:36-07:00
Forum: Users
Topic: Rotate pdf page 45 degrees, weird rotation and white space in results
Replies: 3
Views: 264

Re: Rotate pdf page 45 degrees, weird rotation and white space in results

i believe the +repage did the trick. thank you.
by jauson
2017-09-13T13:38:24-07:00
Forum: Users
Topic: Rotate pdf page 45 degrees, weird rotation and white space in results
Replies: 3
Views: 264

Rotate pdf page 45 degrees, weird rotation and white space in results

I'm trying to rotate a pdf page by (some degrees) 45 degrees for example, and saving it back to pdf, and the result is creating weird white spacing and moving it off page inside the pdf result, if I save the output as png it works as expected. Version: ImageMagick 6.9.9-10 Q16 x64 2017-08-27 Code wi...
by jauson
2016-12-07T19:44:49-07:00
Forum: Users
Topic: crop empty space around images
Replies: 3
Views: 44659

Re: crop empty space around images

I had an issue with a png having a slight bit of transparency, which resulted in removing the transparency part, and leaving the white areas. To fix it, first I had to flatten, then trim.

Code: Select all

convert partial-trans.png -flatten -fuzz 1% -trim +repage trimmed.jpg
by jauson
2015-06-14T02:24:31-07:00
Forum: Users
Topic: Stop image from resizing when adding shadow [solved]
Replies: 8
Views: 1373

Re: Stop image from resizing when adding shadow

How are you running the command? Your syntax is bash. Do you use Cygwin? Anyhow, the problem is simply that you ask for a shadow that will extend beyond the background image, so the result is larger. The cure is to make a smaller shadow, or crop, or use "-layers flatten" instead of "-layers merge"....
by jauson
2015-06-14T01:22:49-07:00
Forum: Users
Topic: Stop image from resizing when adding shadow [solved]
Replies: 8
Views: 1373

Re: Stop image from resizing when adding shadow

I updated the original post with the images used. I understand the reason why the black area is there, it's a jpg image. Using Version: ImageMagick 6.9.0-10 Q16 x64. Windows 8.1. Will get the black area. convert \ -size 600x400 xc:blue \ \( rose: -set page +258+349 \) \ \( +clone -background gray5 -...
by jauson
2015-06-13T20:36:37-07:00
Forum: Users
Topic: Stop image from resizing when adding shadow [solved]
Replies: 8
Views: 1373

Re: Stop image from resizing when adding shadow

i'd like to freeze the canvas size from expanding
by jauson
2015-06-13T17:50:11-07:00
Forum: Users
Topic: Stop image from resizing when adding shadow [solved]
Replies: 8
Views: 1373

Stop image from resizing when adding shadow [solved]

Is there a way to lock the canvas size so it doesnt resize the image when adding a shadow? Images used. http://i.imgur.com/wCz2tMf.png (catssmall.png) http://i.imgur.com/QDD0w4K.jpg (testbg.jpg) http://i.imgur.com/VNNAMIb.png (cats.png) convert testbg.jpg \ \( catssmall.png -set page +258+249 \) \ \...
by jauson
2015-05-05T14:44:56-07:00
Forum: Users
Topic: Need help with merging images and adding drop shadow
Replies: 6
Views: 1244

Re: Need help with merging images and adding drop shadow

Am I wrong in thinking -page should be resizing a layer?
by jauson
2015-05-05T13:52:35-07:00
Forum: Users
Topic: Need help with merging images and adding drop shadow
Replies: 6
Views: 1244

Re: Need help with merging images and adding drop shadow

Thanks Bonzo, I've been there, the -page still isn't resizing. I must be missing something.
by jauson
2015-05-05T02:01:38-07:00
Forum: Users
Topic: Need help with merging images and adding drop shadow
Replies: 6
Views: 1244

Re: Need help with merging images and adding drop shadow

One problem I'm having is -page doesn't resize the layer like suggested.

For example:

-page 100x100+2400+0 1m.png

doesn't give me a 100x100 1m image at that offset.
by jauson
2015-05-04T21:10:53-07:00
Forum: Users
Topic: Need help with merging images and adding drop shadow
Replies: 6
Views: 1244

Need help with merging images and adding drop shadow

I've created a working script that does this separately, but no luck trying to have it do it in 1 command. convert 1.png \ \( +clone -background gray10 -shadow 80x14+25+25 \) +swap \ -background none -layers merge +repage 1m.png convert \ -page +2400+0 1m.png \ -page +2000+0 2m.png \ -page +1600+0 3...