Skip to content

Conversation

killerdevildog
Copy link

The PngExportController was experiencing scaling issues in offline mode where the 'Download selected frame as PNG' feature would always export at 1x scale regardless of the export scale setting.

This commit adds a defensive getExportZoom_() method that:

  • First attempts to get zoom from the main ExportController (normal case)
  • Falls back to user settings if ExportController is unavailable
  • Defaults to 1x scale if all other methods fail

This ensures consistent scaling behavior across both online and offline versions while maintaining backward compatibility.

Fixes #1135

The PngExportController was experiencing scaling issues in offline mode
where the 'Download selected frame as PNG' feature would always export
at 1x scale regardless of the export scale setting.

This commit adds a defensive getExportZoom_() method that:
- First attempts to get zoom from the main ExportController (normal case)
- Falls back to user settings if ExportController is unavailable
- Defaults to 1x scale if all other methods fail

This ensures consistent scaling behavior across both online and offline
versions while maintaining backward compatibility.

Fixes piskelapp#1135
@Sebasss42
Copy link

is there a way that you could DM me about how to update it, or how to compile it? I'm new to this and I've been having this issue for a while now

@killerdevildog
Copy link
Author

@Sebasss42 new to using git or github? Discord?

@Sebasss42
Copy link

Sebasss42 commented Aug 29, 2025

New to github, but it seems the email it's censored for security I guess, it appears to me as *** @ *., you can add me on discord I'm @sebastudios

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

Successfully merging this pull request may close these issues.

[Bug Report] Offline Export selected frame as PNG does not scale.
2 participants