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

Background Images, part II #1777

Open
10 tasks
justvanrossum opened this issue Nov 11, 2024 · 0 comments
Open
10 tasks

Background Images, part II #1777

justvanrossum opened this issue Nov 11, 2024 · 0 comments
Assignees

Comments

@justvanrossum
Copy link
Collaborator

justvanrossum commented Nov 11, 2024

As follow-ups to #1775, the following needs to be done (as separate tasks wherever possible):

  • [background image] Make the background image selectable, editable, etc. #1782
    • selectable (+ "selected" visualization, I imagine a stroke around the image)
    • editable (movable, draggable, via EditBehavior?)
    • transformable ("bounds handles" resize/rotate)
    • deleteable
  • add a dialog for image properties (mostly color, or maybe just opacity/alpha)
  • add a context menu to "lock background image": this should be a global flag, not a per-image flag
  • allow a .png or .jpg image to be dropped onto a glyph in edit mode
  • allow a .png or .jpg image to be pasted onto a glyph in edit mode
  • allow a .png or .jpg image to be selected, to be put onto a glyph in edit mode
  • make background image data participate in copy/paste
  • allow a background image to be copied as image data (in addition to "normal" copy)
  • designspace backend: convert .jpg to .png with Pillow as part of putBackgroundImage()
  • determine a scheme when to delete the underlying image data (tricky, as it doesn't participate in undo)

For the first item, I guess some of the code from #1707 can be used.

Completing this issue also completes #1660.

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

No branches or pull requests

2 participants