POV-Ray : Newsgroups : povray.general : Image Cropping Server Time
5 Nov 2024 15:51:33 EST (-0500)
  Image Cropping (Message 1 to 6 of 6)  
From: Phil Clute
Subject: Image Cropping
Date: 1 May 1999 04:37:46
Message: <372AB0B4.BA95DA98@tiac.net>
Last night I tried out the Partial Output Options to crop the
top and bottom off my render. It worked great,giving the image
that wide-screen effect as it rendered. But I opened the image with
Quick Time and the image was sitting in the top portion of the frame
instead of the middle where it's supposed to be.

My command line setting was: +sr.14 +er.86 (which renders a rough
aspect ratio of 1.85:1) This was applied to a normal 1.33:1 image.

Now how do I keep the image centered?

-- 
...coffee?...yes please! extra sugar,extra cream...Thank you.


Post a reply to this message

From: Bob Hughes
Subject: Re: Image Cropping
Date: 1 May 1999 09:48:43
Message: <372AF7EE.DB8516B5@aol.com>
Can't be done that way, as the image is readinto a image reader it picks
up on the viewable portion. Some programs can't open a partial render at
all. You're going to have to do the aspect ratio way.
+w400 +h300 in command-line for a up 1*y right 4/3*x in the camera.


Phil Clute wrote:
> 
> Last night I tried out the Partial Output Options to crop the
> top and bottom off my render. It worked great,giving the image
> that wide-screen effect as it rendered. But I opened the image with
> Quick Time and the image was sitting in the top portion of the frame
> instead of the middle where it's supposed to be.
> 
> My command line setting was: +sr.14 +er.86 (which renders a rough
> aspect ratio of 1.85:1) This was applied to a normal 1.33:1 image.
> 
> Now how do I keep the image centered?
> 
> --
> ...coffee?...yes please! extra sugar,extra cream...Thank you.

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/homepage.htm
 mailto://inversez@aol.com?Subject=PoV-News


Post a reply to this message

From: Ken
Subject: Re: Image Cropping
Date: 1 May 1999 09:54:57
Message: <372AF912.DA338786@pacbell.net>
Bob Hughes wrote:
> 
> Can't be done that way, as the image is readinto a image reader it picks
> up on the viewable portion. Some programs can't open a partial render at
> all. You're going to have to do the aspect ratio way.
> +w400 +h300 in command-line for a up 1*y right 4/3*x in the camera.


  You can simply copy the image and paste it into a larger frame with
a black background. PSP will let add boarders to an image uniformaly
or by specifying which side you want it added to.

-- 
Ken Tyler

mailto://tylereng@pacbell.net


Post a reply to this message

From: Peter Popov
Subject: Re: Image Cropping
Date: 1 May 1999 10:11:51
Message: <372cfb46.5930609@news.povray.org>
On Sat, 01 May 1999 03:43:48 -0400, Phil Clute <plc### [at] tiacnet>
wrote:

>Last night I tried out the Partial Output Options to crop the
>top and bottom off my render. It worked great,giving the image
>that wide-screen effect as it rendered. But I opened the image with
>Quick Time and the image was sitting in the top portion of the frame
>instead of the middle where it's supposed to be.
>
>My command line setting was: +sr.14 +er.86 (which renders a rough
>aspect ratio of 1.85:1) This was applied to a normal 1.33:1 image.
>
>Now how do I keep the image centered?

Well, suppose you render a 1024x768 image with +sr0.25 +er0.75. This
will yield a 1024x384 image. That's right, POV will not fill the empty
space for you, instead it will render a cropped image. You should tell
your image viewer to center the image, if possible.

---------
Peter Popov
ICQ: 15002700


Post a reply to this message

From: Phil Clute
Subject: Re: Image Cropping
Date: 1 May 1999 23:07:42
Message: <372BB4D9.DB1A8F44@tiac.net>
I know how to change the aspect ratio by resolution.
But I was hoping the partial output would leave it centered,
I was thinking the black portion was part of the image. Well
the idea started because of mpegs only accepting certain resolution
sizes, I figured I could get away with a wide-screen on a 4/3
resolution that would be accepted.

Oh well,  Thanks.
-- 
...coffee?...yes please! extra sugar,extra cream...Thank you.


Post a reply to this message

From: Jon A  Cruz
Subject: Re: Image Cropping
Date: 2 May 1999 22:17:04
Message: <372CF931.A59496DA@geocities.com>
Phil Clute wrote:

> I know how to change the aspect ratio by resolution.
> But I was hoping the partial output would leave it centered,
> I was thinking the black portion was part of the image. Well
> the idea started because of mpegs only accepting certain resolution
> sizes, I figured I could get away with a wide-screen on a 4/3
> resolution that would be accepted.
>

Just FYI, I have some basic math done for that a while back. Look for
the 'Working size' section at the end of
http://www.geocities.com/SiliconValley/Network/4453/imp/imp_01.htm

You'll probably have to use some post utility to get the size, etc.
The Gimp is working on Win32 now, so that might help.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.