Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Screenshot Model" button cuts off portion of model when in Display -> GUI. #2450

Closed
TydiumToo opened this issue Aug 17, 2024 · 2 comments
Closed
Labels

Comments

@TydiumToo
Copy link

What are you trying to do, and what do you expect to happen?

I was trying to screenshot a model in Display -> GUI for Java block/item, and it cuts off part of the model. I wanted it to include the whole model in the aspect ratio that its in. Im not entirely sure if this is intentional or not, and if it is intentional then atleast allow an option within the screenshot API to turn the crop off.

Using display_preview.screenshot({crop:false, height:64, width:64}) doesn't work either and still crops it out the photo. (It also ignores my height and width as well)

What happens instead?

This is what happens when I try to screenshot.
image

I wanna be able to use display_preview.screenshot({crop:false, height:64, width:64}) to specifically generate screenshots with that size without cropping out the model. Pretty much zoom in to the model without cropping it out.

Model format in which the issue occurs

Java block/item

Blockbench variant

Program

Blockbench version

4.10.4

Operating System

Windows

Installed Blockbench plugins

None

@TydiumToo
Copy link
Author

When doing display_preview.screenshot({crop:true, height:64, width:64}) instead, it doesn't zoom in all the way but it accepts my width/height again.
image

@JannisX11
Copy link
Owner

This is intentional when using the user-facing quick screenshot function. It's not intentional when using the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants