Search found 68 matches

by Albireo
2010-02-11T05:36:31-07:00
Forum: Users
Topic: Cut the sides - or Zooming
Replies: 18
Views: 44919

Re: Cut the sides - or Zooming

Yes! Yes! Yes! :D :D Now it works! the result on the result image has the style I liked. :) (I hope it vill work with all my images :) ) But: Where do I best add the command "-sharp 0x1.0" - to get the images a bit sharper? (The code will come when I have "improved" it a bit. :D ...
by Albireo
2010-02-11T04:44:24-07:00
Forum: Users
Topic: Cut the sides - or Zooming
Replies: 18
Views: 44919

Re: Cut the sides - or Zooming

It is not %, but $ Thank you! (I have begint o convert) One thing I wonder about: Where get the variable "newsize" its value? Is it still the code below that assigns the variable "NewSize" (taken from one of your first example) newsize=`convert xc: -format "%[fx:$size-3*$sh...
by Albireo
2010-02-10T09:38:31-07:00
Forum: Users
Topic: Cut the sides - or Zooming
Replies: 18
Views: 44919

Re: Cut the sides - or Zooming

[quote="snibgo"]Translating from Unix to Windows isn't trivial.


What happen?
%ww Is that a variable (containing 130 or 1600)?
and %hh Is that a variable (containing 98 or 1200)?
but what is "-ge"? is that the same as ">" greater than....

//jan
by Albireo
2010-02-10T08:40:12-07:00
Forum: Users
Topic: Cut the sides - or Zooming
Replies: 18
Views: 44919

Re: Cut the sides - or Zooming

ww=`echo $size2 | cut -dx -f1` We begin here :D When I translate the row I get the message: "cut is not an internal command, external command program or batch file" I tried to understand the-"cut command" What happen? (i think that "size2" is OK! - it produce the right...
by Albireo
2010-02-09T16:57:58-07:00
Forum: Users
Topic: Cut the sides - or Zooming
Replies: 18
Views: 44919

Re: Cut the sides - or Zooming

Thank you! I'm glad that You give me Your time.. I'm impressed of your knowledge and amazed that the problem was so big and difficult. Back to my problem (again :) ) A picture (portrait or landscape) can get pretty much untapped area. This image area (120x120) might be used better. (was my thought) ...
by Albireo
2010-02-09T09:51:56-07:00
Forum: Users
Topic: Cut the sides - or Zooming
Replies: 18
Views: 44919

Re: Cut the sides - or Zooming

Thank you for taking the time with my wishes :D dpi has no bearing on images, you probably mean widthxheight=120x120 (Maybe I was tired :) - of course it should be 120x120pixels:)) The proposal from "fmw42" above doesn't satisfy my wishes..... One thing: The original image (hatching_orig.j...
by Albireo
2010-02-08T15:26:15-07:00
Forum: Users
Topic: Cut the sides - or Zooming
Replies: 18
Views: 44919

Re: Cut the sides - or Zooming

I try to explain one more time :D (the problem is not that complicated, but I don't know "best" solution.) Look at the example: http://www.imagemagick.org/Usage/thumbnails/ "Creating Thumbnails and Framing" and subtitle: Fit to a Given Space Summary There are 3 examples ( "P...
by Albireo
2010-02-08T14:49:57-07:00
Forum: Users
Topic: Thumbnail best resize suprise
Replies: 3
Views: 7914

Re: Thumbnail best resize suprise

works fine for me on IM 6.5.9.-2 Q16 Mac OSX Tiger ...... compare -metric rmse tmp1.png tmp2.png null: 0 (0)......... I don't understand the command: "Compare -metric.....null:". If I run the command, I also got 0 (0) I use the example on the site: http://www.imagemagick.org/Usage/compare...
by Albireo
2010-02-08T07:42:45-07:00
Forum: Users
Topic: Convert or don't convert (solved)
Replies: 4
Views: 13960

Re: Convert or don't convert

snibgo wrote:For "caret" in the above, read "greater than" (>).

Code: Select all

convert input.jpg -resize "500x500>" output.png
That will teach me not to post in a hurry.
Thank you!
Hmmm, I thought that the size always resize to the desired size

//Jan
by Albireo
2010-02-08T04:45:12-07:00
Forum: Users
Topic: Convert or don't convert (solved)
Replies: 4
Views: 13960

Convert or don't convert (solved)

Hi!

I want to convert a number of images to the same size.
for example: maximum 550 x 550 pixels
but
I don't want to do anything if the original image is smaller than 550 pixels

Is it possible with ImageMagick?
(or should I handle this in some other way?)

//Jan
by Albireo
2010-02-08T04:32:58-07:00
Forum: Users
Topic: Cut the sides - or Zooming
Replies: 18
Views: 44919

Cut the sides - or Zooming

Hi! (for example) I have an original image with the dimensions: 6668 x 4992pixels I want to make an thumbnail with max size of 120x120 (it's not too hard) The command below performs this (+ little scharp on the outcome) convert -size 140x140 7748790.jpg -thumbnail 120x120 -sharpen 0x1.0 Image.png Th...
by Albireo
2010-02-07T20:49:23-07:00
Forum: Users
Topic: Thumbnail best resize suprise
Replies: 3
Views: 7914

Thumbnail best resize suprise

Hi! I have a lot of large images. Now, I want to make as good as possible smaller images. With IM, there are many different ways to make these transformations. But how is the best way? What commands should I use? Should I always use "-sharpen" on the thumbnail to get the best result? (ther...
by Albireo
2010-02-06T16:34:40-07:00
Forum: Users
Topic: Convert - keep the resolution
Replies: 9
Views: 23343

Re: Convert - keep the resolution

density has no bearing on the file size. it only controls how the pixels are converted to print to make the print larger or smaller in physical dimensions such as inches or centimeters hmmm. The print to the printer or the print on the screen? Why don't use high density everywhere? I have read some...
by Albireo
2010-02-06T14:19:53-07:00
Forum: Users
Topic: Convert - keep the resolution
Replies: 9
Views: 23343

Re: Convert - keep the resolution

Thank you! I have used your example of a "simple" image. This "trial" gave a resolution of 300x300dpi - the file size was: 26KB convert -define jpeg:size=120x120 7748790.jpg -thumbnail "120x120>" 774879_120.png and if I add the "density information" to the com...
by Albireo
2010-02-03T09:36:13-07:00
Forum: Users
Topic: Convert - keep the resolution
Replies: 9
Views: 23343

Re: Convert - keep the resolution

Thank you!
el_supremo wrote:..........I think you would specify it immediately before %FileOut%. You might have to specify the units first - "-units pixelspercentimeter -density 30x30 %FileOut%".
Pete
No :( , IrfanView shows still 2dpi x 2dpi
//jan