I have a jpeg image.
I want to put it as a still into a VCD.
I do not know its dimensions.

First I use ImageMagick to scale it down to size:
mogrify -scale '704x576>' v2.jpg

The example image has now the size 704x528

Now I want to resize the image but keep the ratio.
This means I want to create black bars at the top and the bottom.
Or left and right for portrait images.

I tried to find an ImageMagick option. There probably is one but the
manual page is so difficult to wade through, I gave up after twenty
minutes.
The other obvious answer would be yuvscaler, but all options either
require that you know the size of the original image (if landscape or
portrait for example) or involve scaling, which I don't want in this
case.

Any easy solutions?

-- 
Lehmeier Michael <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to