Search found 757 matches

by GeeMack
2016-04-26T20:43:47-07:00
Forum: Users
Topic: problems with mogrify or convert -label
Replies: 11
Views: 6198

Re: problems with mogrify or convert -label

That works, though I am looking for something that looks more like the label outcome - a solid red bar below the picture with the label in it - not with the label over the actual picture. Is there a way to achieve that with your method? You'll have to find the combination of pointsize, the height o...
by GeeMack
2016-04-26T20:26:52-07:00
Forum: Users
Topic: problems with mogrify or convert -label
Replies: 11
Views: 6198

Re: problems with mogrify or convert -label

samiam00 wrote:What am I overlooking here?
I'm using "ImageMagick 7.0.0-0 Q16 x64 2016-03-26" on Windows 7 64. If I understnad what you're trying to do, you might try constructing your command more like this...

Code: Select all

mogrify -gravity south -fill white -pointsize 24 -annotate +0+20 "Before" "C:\pic\BEFORE\*.jpg"
by GeeMack
2016-04-25T04:23:01-07:00
Forum: Developers
Topic: Image Quality in Imagemagick
Replies: 7
Views: 13541

Re: Image Quality in Imagemagick

Ganesha wrote:

Code: Select all

convert test.jpg -resize WxH> testresize.jpg
Is there any other way of resizing image to produce the same quality of the jar using convert command?
Maybe try this...

Code: Select all

convert test.jpg -resize WxH> -quality 100 testresize.jpg
by GeeMack
2016-04-19T06:28:52-07:00
Forum: Users
Topic: Composite image
Replies: 4
Views: 3464

Re: Composite image

I don't understand why second code doesn't work. Its identical to first one, except for values for -extent and -splice. What am I doing wrong? As snibgo explained, at the point the first composite was made, your "forum_page.png" was larger than "forum_read.png". You composited the larger image over...
by GeeMack
2016-04-18T13:29:40-07:00
Forum: Users
Topic: Add dimention into filename
Replies: 5
Views: 3637

Re: Add dimention into filename

How can I add image dimention into it's filename? This line in a Windows BAT file would take every JPG in the directory and rename it to its original file name, followed by an underscore, followed by WxH, and ending with ".jpg"... convert *.jpg -set filename:f "%%t_%%wx%%h" -quality 100 "%%[filenam...
by GeeMack
2016-04-15T18:22:33-07:00
Forum: Users
Topic: Anyway to counteract -kerning not being proportional when changing font size?
Replies: 2
Views: 2919

Re: Anyway to counteract -kerning not being proportional when changing font size?

Can anyone explain why or does anyone have any ideas how to counteract it? I spit out widths etc and I'm having trouble thinking of a formula. The "-kerning" setting in IM is the number of pixels added (or subtracted) between each character in the text. To do what you want you'd have to set a "-ker...
by GeeMack
2016-04-14T07:21:10-07:00
Forum: Users
Topic: Differently colored annotations
Replies: 4
Views: 3394

Re: Differently colored annotations

Is it possible to have an annotation with 1 part in green followed by another one in red? The spacing of letters should not be affected as when using the +x+y attribute. Using "ImageMagick 6.9.3-6 Q16 x64" I've achieved varying degrees of success using some of the following. Here's an idea using "l...
by GeeMack
2016-04-07T07:27:00-07:00
Forum: Bugs
Topic: Annotate not honoring default gravity with IM7
Replies: 2
Views: 2444

Annotate not honoring default gravity with IM7

Using "ImageMagick-7.0.0-0~beta20160329-Q16-HDRI-x64-static.exe" on Windows 7 64, there seems to be some odd behavior of "annotate" and "draw text" when no gravity setting is specified. These commands... magick ^ -size 600x100 ^ canvas:white ^ -pointsize 48 ^ -draw "text 0,0 'abc123'" ^ testing1.png...
by GeeMack
2016-04-05T16:27:26-07:00
Forum: Users
Topic: Mogrify - resize to 72px w images that are wider than 72px
Replies: 11
Views: 6821

Re: Mogrify - resize to 72px w images that are wider than 72px

Understood, but its still weird that all works as expected when I'm no longer within c:\inetpub and the actual directory for the site. And yes, all folders within have correct read/write permissions etc It looks like everything is good with the IM task you're trying to accomplish. There are some kn...
by GeeMack
2016-04-05T11:59:29-07:00
Forum: Users
Topic: Mogrify - resize to 72px w images that are wider than 72px
Replies: 11
Views: 6821

Re: Mogrify - resize to 72px w images that are wider than 72px

... it works, skipping the images that are 60x60, but it overwrites all the original photos in "test_photos" and places nothing into "test_photos_thumbnails" [...] Am I not able to place the new images into a new directory? It looks like the kind of problem you might have if there was a typo in the...
by GeeMack
2016-04-05T05:03:33-07:00
Forum: Users
Topic: Mogrify - resize to 72px w images that are wider than 72px
Replies: 11
Views: 6821

Re: Mogrify - resize to 72px w images that are wider than 72px

I'm trying to resize a few thousand images to be 72px wide to be used as thumbnails in slider galleries. These images are kept in a folder that also has thousands of images that are smaller than 72x wide that need to be kept their original size..... Unless I've misunderstood what you're trying to d...
by GeeMack
2016-03-31T12:04:47-07:00
Forum: Users
Topic: Convert multiple files for the same code
Replies: 4
Views: 4215

Re: Convert multiple files for the same code

I'm lucky to find this code: convert myfile1.jpg myfile2.jpg +append Done1.jpg to combine 2 photos, and it was amazing so far. But it only handle 1 command with 2 photos, Is there anyway to automate this using imageMagick in window? with easy use code?! I'm using Windows 7 64 and ImageMagick 6.9.3-...
by GeeMack
2016-03-29T19:48:44-07:00
Forum: Users
Topic: PNGs as layers with different opacities
Replies: 6
Views: 4413

Re: PNGs as layers with different opacities

Now i need to combine them to one image (as layers one on top of the other) with different opacity values (a.png 0.9, b.png 0.5, c.png 0.6). The new image should be a transparent png too. I'm using Windows 7 64, PhotoShop Elements 8.0, and "ImageMagick 6.9.3-6 Q16 x64". I made a 3 layer image in PS...
by GeeMack
2016-03-25T21:40:48-07:00
Forum: Users
Topic: Creating a logrithmic grid?
Replies: 24
Views: 12449

Re: Creating a logrithmic grid?

I guess simplified would be starting with 8x8 or 16x8 pixel blocks in a grid, then make the blocks get progressively narrower as the line goes across. ImageMagick 7 will be able to do some calculations right in the command line that IM6 can't do. A command like this, for example... magick -size 1x5...
by GeeMack
2016-03-24T18:00:46-07:00
Forum: Users
Topic: Converting a tiff file to jpeg without increasing filesize
Replies: 9
Views: 9800

Re: Converting a tiff file to jpeg without increasing filesize

Though this is a bit unrelated to this thread (though very tied to how I'm using it), do you know of a way to do a batch convert of files in imagemagick? I don't mean in a for loop or using something like gnu parallel, but I mean internal to imagemagick. If you're going to run a particular command ...