Cropped Image Size

Started by choronr, December 10, 2009, 05:20:05 PM

Previous topic - Next topic

choronr

Cropped Image Size:

Often, I'll crop an image; say that one I've set up at 1280 x 960. Then, I decide that the portion I've cropped would look good as the final image. I ponder what size the image would be – however, I will find out after I go into Photo Shop and do the crop to find out the final image size.

Suggestion to Planetside: It would be good if you folks could implement in the render tab an additional area where the size of a cropped portion of the image would be.

neuspadrin

Shouldn't be too hard to calculate.  Just take the current image width/height, then do a little easy multiplication and subtraction to go from the % to a pixel size.  perhaps in the overlay red box it could display the information on its current dimensions?

Oshyan

I'm not sure I understand the suggestion. It seems somewhat outside the functionality of TG2.

- Oshyan

neuspadrin

I think what he wants inside the cropped region to have the option to override the image size, and instead set a "cropped region" size in pixels.  it would have a tied aspect ratio. for what you had in already cropped.  so if i set up my cropped region, then i would say i want my cropped region to render to be 800pixels wide.  Then the render would automatically make it so the cropped area was rendered at 800pixels wide.

choronr

Quote from: Oshyan on December 10, 2009, 06:11:58 PM
I'm not sure I understand the suggestion. It seems somewhat outside the functionality of TG2.

- Oshyan
Thanks for getting back. I'll re-explain. Assume you start with an image size/ratio of 1280 x 960. Next, you move the right border to the left and stop somewhere near the center of the image. Checking the 'crop region' in the render tab you'll see the crop right reads 0.564815. Now, what is the total image size? No longer is it 1280 x 960; but, wouldn't it be good if you had a space in the crop region that reads the revised, total image size of the cropped region?

Oshyan

Ah, I see what you mean. I'm not sure how broadly useful it is, but something to consider for the future.

- Oshyan

dandelO

Yes, that's a handy idea I think, too. Vue does this aswell, basically displays the crop size in pixels instead of fractions. A little 'in-brackets' cropped pixel size in the render-view title bar would be cool.

choronr

Quote from: Oshyan on December 10, 2009, 06:36:32 PM
Ah, I see what you mean. I'm not sure how broadly useful it is, but something to consider for the future.

- Oshyan
Thanks Oshyan; actually, it would be very useful when you realize that your objective size would be better served by a cropped region yielding a vertical format rather than a horizontal one - or, visa verse.

Thelby

It's really not hard to use a calculator to figure it out.
Bob you said that your image is 1280 wide and you are moving the crop slider to the left from the right and it stops at 0.564815. So take your calc and input 1280 multiplied by or times 0.564815 = 722.9632 pixels;D

choronr

Quote from: Thelby on December 21, 2009, 05:39:37 PM
It's really not hard to use a calculator to figure it out.
Bob you said that your image is 1280 wide and you are moving the crop slider to the left from the right and it stops at 0.564815. So take your calc and input 1280 multiplied by or times 0.564815 = 722.9632 pixels;D
Thanks Mark; appreciate the information. Guess I'm losing brain cells at a higher rate than I thought.

schmeerlap

Quote from: choronr on December 10, 2009, 05:20:05 PM
Often, I’ll crop an image; say that one I’ve set up at 1280 x 960. Then, I decide that the portion I’ve cropped would look good as the final image.

At that point I'd simply zoom the render camera in to the desired (cropped) portion of the scene and render that at the desired image size. That'd let Matt & co spend the coding time on something cool like a breaking-wave shader  ;D

John
I hope I realise I don't exist before I apparently die.

Hetzen

I've been trying to figure that one out. What I can't do, is generate a huge wave curl. For two reasons. One, I've not been able to create that shape in functions, without untidy hard edges, (although I'm sure you can soften the lateral displacement at it's edges somehow, and that is my next little project, coming up with a blend function), which is still animateable (this is probably more important than creating a one off still, it means the the nodes will work in any situation you throw at it regardless of direction. And well, it moves). The second more debilitating restriction, is that the water shader is only one sided. It doesn't handle light passing through two sides at all well.

With this is in mind, I think it's more than possible to create a decent shorline that interacts with a sloping coast. I'd just concentrate on making a decent phase transition between a pointed wave peak, building to animated frontal noise, that decreases it's frequency and amplitude as it rolls up the shore.

Hetzen

Sounds easy huh?

Sorry for hijacking. ;D