Hi All,
On my current code, the only way I can export PNG is by using the browser's Snapshot feature.
The problem is that it's acting like: "What you see on screen, is what you get".
and also: "The current size of the window resolution is what you get".
My project's full layout size is: 3840 x 2160
the layout starts with viewport size of: 1920 x 1080 the user can zoom in/out, exporting takes a snapshot of what's seen on the screen based on the current window size.
if I'm NOT on full screen mode it will capture a smaller resolution based on the size of the window.
The PROBLEM is:
If I want to capture and export (not sure if I should call it snapshot) .PNG of the FULL SIZE of my layout and NOT based on what you see is what you get, even if the window is tiny or full screen to CAPTURE the full size of the layout is what I'm trying to do.
What I want to achieve is:
to CAPTURE the full layout size 3840 x 2160 resolution no matter what the current size of the window, the camera position or zoom is. just to CAPTURE a full layout resolution to .PNG file!
Can somebody PLEASE explain how to do this?
Any screenshots of such code or step-by-step will be very helpful for me to follow as I'm still a noob and I'm guessing that it's not that simple to achieve.
Thanks ahead!