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

Floating images for references and backgrounds #1417

Open
askmeaboutlo0m opened this issue Dec 16, 2024 · 2 comments
Open

Floating images for references and backgrounds #1417

askmeaboutlo0m opened this issue Dec 16, 2024 · 2 comments
Labels
feature New features or improvements to existing ones needs design An idea that needs a design for it, like a UI mockup or similar protocol change A new feature that requires a compatibility breaking change to the protocol

Comments

@askmeaboutlo0m
Copy link
Member

askmeaboutlo0m commented Dec 16, 2024

We have a few similar use cases that are pretty common:

  1. Users pasting reference image onto the canvas so that they can look at them for reference, pick colors from them etc. This is partially solved by the reference image dock, but it only helps when a single user needs the reference, not when multiple users do.
  2. Users pasting background images onto the canvas so that people can draw characters on top of them.
  3. Users pasting a rules graphic onto the canvas.

None of these is ideal for size and performance reasons, making it slow to catch up to sessions that use many or large images of this sort. The problem here is really that pasting on a layer is meant for art, so it always preserves every pixel exactly and losslessly. However, for the above use cases, that level of pixel accuracy is excessive. Especially for stuff like photo references or backgrounds, preserving every pixel is totally pointless, since the source image probably isn't lossless to begin with.

We could solve this by adding floating images of some sort. These could let you choose a quality level to bring the size down, using lossy JPEG or WEBP compression without any notable quality reduction, but a huge reduction in size, from several MB to a few hundred KB.

How to put this into the protocol isn't that exciting, since the feature isn't that complicated on that front, but how exactly this is supposed to look in the UI is something that needs ideas and design.

@askmeaboutlo0m askmeaboutlo0m added feature New features or improvements to existing ones needs design An idea that needs a design for it, like a UI mockup or similar labels Dec 16, 2024
@askmeaboutlo0m askmeaboutlo0m added the protocol change A new feature that requires a compatibility breaking change to the protocol label Dec 16, 2024
@amoruwu
Copy link

amoruwu commented Dec 16, 2024

Something to note: Annotations can have floating images already which is pretty neat, but you can't do it easily really.

@askmeaboutlo0m
Copy link
Member Author

Yeah, annotations being able to contain small-ish images is kind of an accidental feature, but pretty limited by how much data fits into a single annotation, they can't be put into the background and you can't pick colors from them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features or improvements to existing ones needs design An idea that needs a design for it, like a UI mockup or similar protocol change A new feature that requires a compatibility breaking change to the protocol
Projects
None yet
Development

No branches or pull requests

2 participants