Search found 31 matches

by bensto
2017-10-03T09:51:31-07:00
Forum: Users
Topic: How to crop 32 pixels at the top?
Replies: 7
Views: 14334

Re: How to crop 32 pixels at the top?

Thank you.

Is the chop operation lossless?

After applying

convert.exe test.jpg -gravity North -chop x160 +repage out.jpg

in the resulting picture the heaven seems to be much more blue than in the original.
by bensto
2017-10-02T22:17:19-07:00
Forum: Users
Topic: How to crop 32 pixels at the top?
Replies: 7
Views: 14334

How to crop 32 pixels at the top?

As far as I know I can crop a picture to a height of 3000 pixels by the following command: convert in.jpg -crop x9000+0+0 +repage out.jpg However the cropped part is here always at the bottom of the picture. How can I tell ImageMagick to only crop at the top of the picture? How can I tell Imagemagic...
by bensto
2017-09-08T21:57:59-07:00
Forum: Users
Topic: How to split a very long (=height) image into parts?
Replies: 1
Views: 3428

How to split a very long (=height) image into parts?

Sometimes I print some very loooooooong webpages into a *.PNG picture. Since the height of the resulting image is larger than ~ 32000 pixels a lot of image viewer and image editors cannot handle it correctly. So I have to split it into several chunks. Lets say I have such an image file "myhugep...
by bensto
2016-07-10T23:15:29-07:00
Forum: Users
Topic: How to crop a *.png picture to height 9000pixel ?
Replies: 1
Views: 2689

How to crop a *.png picture to height 9000pixel ?

Assume I have a very, very height *.png picture with a height of e.g. 32000 pixels.

How can I crop the picture with ImageMagick command to a height of e.g. 9000 pixel ?

The width should remain as it is.
by bensto
2015-07-19T03:23:32-07:00
Forum: Users
Topic: Detect if a picture is in landscape or portrait mode? find out width+height?
Replies: 8
Views: 21251

Re: Detect if a picture is in landscape or portrait mode? find out width+height?

Ok, thank you.

However I am working under Windows 7
Your code is unix shell script style.
So backticks do not work here.
Similarly a % percentage sign has a different meaning under Windows

You have a corresponding version for DOS batch scripts?
by bensto
2015-07-18T23:09:00-07:00
Forum: Users
Topic: Useless installation files deleteable?
Replies: 3
Views: 3831

Useless installation files deleteable?

When I compare the current ImageMagick installation folder with on older version I found some files in the older which are not longer installed:

quantization-table.xml
import.exe
display.exe
at100.dll

Are they meanwhile useless?
Are they removed?

Ben
by bensto
2015-07-18T23:04:03-07:00
Forum: Users
Topic: Detect if a picture is in landscape or portrait mode? find out width+height?
Replies: 8
Views: 21251

Detect if a picture is in landscape or portrait mode? find out width+height?

Assume I have a big picture in portrait format. I want to resize it so that the height is exactly 800 pixel. Therefore I can use the following command: convert <myfilename> -resize x800 -quality 97 <myfilenamenew> I put this command (with corresponding variables) into a dos batch script. So I can si...
by bensto
2015-05-26T00:58:26-07:00
Forum: Users
Topic: How to show currently installed version?
Replies: 2
Views: 8410

Re: How to show currently installed version?

Thx
by bensto
2015-05-25T21:51:42-07:00
Forum: Users
Topic: How to show currently installed version?
Replies: 2
Views: 8410

How to show currently installed version?

How can I find out the currently installed version of IM?

In other words which parameter tells which IM tool to show its version?

e.g. convert -showversion

or similar.

Ben
by bensto
2014-03-17T03:15:11-07:00
Forum: Users
Topic: How to resize *.png picture with auto-adjustment?
Replies: 4
Views: 4937

Re: How to resize *.png picture with auto-adjustment?

Thank you.

Regarding JPG one more question:

At which compression level will the conversion take place (by default)?

How do I specify a different compression level for JPG?

Ben
by bensto
2014-03-17T00:54:42-07:00
Forum: Users
Topic: How to resize *.png picture with auto-adjustment?
Replies: 4
Views: 4937

How to resize *.png picture with auto-adjustment?

Assume I have an original *.png picture with an unknown (big) width and height. Now I want to resize/shrink it to a height of 800pixel. The width should be automatically adjusted so that the height/width ratio of the original picture is kept. In other words if for one particular PNG picture the heig...
by bensto
2013-04-01T03:08:22-07:00
Forum: Users
Topic: convert and trim problem
Replies: 3
Views: 5799

convert and trim problem

I want to remove all white pixel border (!) lines inside a picture around the actual content. For that I enter the following command: convert.exe -trim D:\tmp\2.jpg and got the following error (under 64bit Win7): convert.exe: no images defined `D:\tmp\2.jpg' @ error/convert.c/ConvertImageCommand/308...
by bensto
2013-03-30T21:54:09-07:00
Forum: Users
Topic: How to cut a long,long pic into multiple pages for printing?
Replies: 2
Views: 7027

How to cut a long,long pic into multiple pages for printing?

Assume I have a long,long,long picture (e.g. 1060 * 4620 pixels). I want to print it out on physical or pdf printer. BUT I don't want to shrink or stretch the picture or let it somehow fit on ONE page. Instead it should be adjusted/cut so that the current WIDTH fits exactly on one page. If the lengt...
by bensto
2012-07-02T00:51:21-07:00
Forum: Users
Topic: Draw/add a 3 pixel pure white frame around a picture?
Replies: 4
Views: 10470

Draw/add a 3 pixel pure white frame around a picture?

How can I draw/add a 3 pixel wide pure white frame around an existing *.jpg or *.png picture

D:\mypicture\holidayjune\pic123.jpg

or

D:\mypicture\holidayjune\pic123.png

Keep in mind that the picture could not be rectangle but round/elliptic as well.

Ben
by bensto
2012-07-02T00:39:41-07:00
Forum: Users
Topic: How to rotate a *.jpg picture by 90 deg?
Replies: 4
Views: 96823

How to rotate a *.jpg picture by 90 deg?

Assume I have a *.jpg picture

D:\mypicture\holidayjune\pic123.jpg

How can I lossless rotate this picture by 90 clockwise and save it as

D:\mypicture\holidayjune\pic123rot.jpg

?

What do I have to change in the previous command when I want to rotate it couter clockwise by 90 deg?

Ben