Change the canvas size without changing the resolution?

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
larpon
Posts: 32
Joined: Sat Jun 10, 2006 9:17 pm

Change the canvas size without changing the resolution?

Post by larpon »

Topic says it all...

If I export the images to png the resoultion is perfect but the canvas is too large, or you could call it a bounding box as well I guess.. Are there any way to manually set this?

I'd like to keep the resolution and "clip" the area rendered.. any suggestions?
User avatar
alano
Posts: 62
Joined: Tue May 23, 2006 9:40 pm
Location: Sunnyvale, CA
Contact:

Post by alano »

If I understand your problem correctly, you simply need to zoom in with the zoom camera tool. The resolution is set in the Project Settings menu but you crop with the zoom camera tool. Hope this helps.

Alan
Get some "Good Advice" at www.decksawash.net
larpon
Posts: 32
Joined: Sat Jun 10, 2006 9:17 pm

Post by larpon »

alano wrote:If I understand your problem correctly, you simply need to zoom in with the zoom camera tool. The resolution is set in the Project Settings menu but you crop with the zoom camera tool. Hope this helps.

Alan
Hmm... that was not the problem.. If I use the camera zoom the resolution will stay the same, but my figure is getting bigger..

the problem is that I want all the frames to be cropped (you got the word I was missing in the first post :) ) in a different rectangle than the project settings give me opportunity for.. the current size is the Web preset wich is 320x240.. and this is perfect and fit my needs as a resolution.. The rendered frames comes out in 320x240 as supposed.. but I'd like to crop the figure so it's in an area of, say, 20x30, but still rendered in normal size..

A reference would be the crop tool in The GIMP, I put a rectangle on my image and crop everything around that rectangle.. the image resolution is kept this way

I hope that clearify it a bit?

A work around would be to read all the frames through a ImageMagick bashscript.. but if moho has the power that scripting would be a waste of time :)
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

You can set the "resolution" to anything you want.

If the movie you export is 320 x 240 and you wanted to "crop" it to 20 x30... then... the project resolution should be 20 x 30 and you would scale the character or content to the size you want in that space.

If you want to crop that region but scale it up... then... you zoom the camera as explained... or scale the layer of the content. But you set the size ration in the project settings.

The pixel dimensions of the project are just that... exact pixel dimensions at 72 dpi... there is no "resolution".

It isn't like gimp or photoshop where you have a defined pixel resolution of an image that can change... like... 4 x 5 inches at 150 dpi. An image that is 600 x 400 pixels at 72 dpi is exactly the same size as 600 x 400 at 300 dpi.

The resolution is determined by pixel dimensions. Programs like the gimp and photoshop also have to deal with print resolutions.

Moho is always dealing with 72 dpi. If your image is 400 pixels high and the Moho project is 400 pixels high the image fits top to bottom. If you increase the moho file to 800 pixels high... the image is smaller in relation... it is based on 72 dpi... a fixed resolution. If you zoom in on that image than it "gets bigger".

Hope this makes sense.

-Vern
larpon
Posts: 32
Joined: Sat Jun 10, 2006 9:17 pm

Post by larpon »

Cheers buds..
It seems like I've misunderstood the first post, and thanks Vern for pointing it further out... It was indeed the camera zoom I could use for the job..

I suspect my use of the word resolution. might have mislead you..
by resolution I meant the canvas dimensions on the output png pictures..

Anyway by setting the width and height to eg. 20x30 and zoom in, it worked out.
Post Reply