Skip to content

Conversation

@ruizrica
Copy link

Summary

  • Fix PNG aspect ratio to match terminal display (2:1 height:width ratio)
  • Add TerminalAspectRatioPNGOptions() for proper cell sizing (16x32 pixels)
  • Change default export location to user's Desktop
  • Make PNG the default/first export format option
  • Add tests for terminal aspect ratio PNG generation

Changes

  • internal/export/png.go: Added TerminalAspectRatioPNGOptions() function
  • internal/export/manager.go: Export now saves to Desktop by default
  • internal/export/types.go: Moved PNG to first position in format list
  • internal/ui/app.go: Use terminal aspect ratio options for PNG export
  • README.md: Updated documentation to reflect PNG export feature

Test plan

  • PNG export produces correct aspect ratio matching terminal display
  • Files save to Desktop by default
  • PNG is the default export format when pressing 'e'
  • All existing tests pass

zahumphries and others added 6 commits November 9, 2025 19:50
Favorites:
- Press 'f' to open favorites panel
- Save current art config with 's', enter name or auto-generate
- Navigate with arrow keys, Enter to load, 'd' to delete
- Stores text, font, colors, spacing, scale, shadow settings
- Persists to ~/.config/bit/favorites.json

PNG Export:
- Added PNG as export format option
- Generates transparent PNG at 16x scale
- Supports overwrite confirmation like other formats

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Fix PNG aspect ratio to match terminal display (2:1 height:width)
- Add TerminalAspectRatioPNGOptions() for proper cell sizing (16x32)
- Change default export location to Desktop
- Make PNG the default/first export format
- Update README to document PNG export feature

Co-Authored-By: Claude <noreply@anthropic.com>
@ruizrica ruizrica changed the title Improve PNG export with correct aspect ratio and Desktop save location Introduce PNG export with correct aspect ratio and Desktop save location Nov 29, 2025
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.

3 participants