Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Pixel Fx Designer

Design pixelart effects and render them to .png sprite sheets or .gifs · By CodeManu

How can I stop the rendering from cropping the canvas size output?

A topic by ChrisXokami created Dec 18, 2022 Views: 206 Replies: 5
Viewing posts 1 to 6

I can force a specific canvas size, but when I go to render, it automatically resizes it and crops it. This is useful for saving space, however, I think it would be really handy to allow users to override that feature, as some projects (mine!) require specific dimensions in order to be used. Thank you for reading. If this feature already exists, please let me know! It would make my day.

Developer

Hi there,

Sorry I don't understand what's happening, could you tell me which version are you using and the steps to reproduce your issue?

(1 edit)

Absolutely!

I'm currently using v1.0.0.8. 

At first, my conclusion was that when rendering, the render output will crop out any unused space automatically. As you can see, during rendering, the frame size has been cropped from 544x416 to 253x366. I want to be able to prevent this from happening.


Upon further testing (and me attempting to force the program to render at the expected 544x416 canvas size) I've found that even if the canvas is flooded with particle effects, the render result will still be cropped, no matter what. I have yet to figure out how to render at exactly the canvas size I specify. I guess I'm trying to understand why the program does this, and how to force it to render at a specific canvas size without any cropping at all.

Thank you so much for reading my post, I hope that I explained my issue well enough!

Developer

It looks that a couple of things are happening here:

1. The option you are looking for is called "Trim", there's a checkbox right above the Render button where you can disable it. Disabling it will make that the render isn't trimmed (cropped) and you'll have an output the same size as you want.

2. The render result preview is that size, that doesn't mean the export will have that size, It only means that the rest of the render is out of bounds. You can move the result in the preview window with Right Mouse Button, and you can zoom in/out with the mouse wheel.

Whoops! Looks like the real issue was inbetween the computer and the chair (aka, it was me not unchecking trim. Lol). Thank you very much for taking the time to respond to me and assist me with this, I was able to render at the size I had wanted!

Developer

No worries! It's always great to see that the issue is just a minor oversight, and not that you happen to uncover to mess that's happening behind the program! :)