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

"New Image From Paste" Button #1024

Closed
Ashedragon opened this issue Mar 21, 2016 · 9 comments

Comments

Projects
None yet
3 participants
@Ashedragon
Copy link

commented Mar 21, 2016

GraphicsGale has this handy feature where you can press a button and it will create a new image with the contents of your clipboard with the single press of a button. This would be an incredibly handy feature and would save a lot of time.

@Ashedragon Ashedragon changed the title Feature Request: New Image From Paste Button Feature Request: "New Image From Paste" Button Mar 21, 2016

@oceanhahn

This comment has been minimized.

Copy link

commented Mar 21, 2016

This almost already exists with Edit / New Sprite from Selection ([Ctrl] + [Alt] + N).
It's not the same because it only copies from whatever is selected (if anything) in your current viewport, rather than from the clipboard, so it won't replace what you want. But it's close, maybe?

Hope it helps you, at least for now!

@dacap

This comment has been minimized.

Copy link
Member

commented Mar 21, 2016

I thought about this feature several times, but I've never decided to include it as we can press Ctrl+N (the default size is the clipboard image size), Enter, Ctrl+V.

Anyway, sometimes I find a little uncomfortable to see the clipboard image size in File > New instead of the latest used image size.

I think that there are several things we can do with this:

  • Add a command (that can be invoked with a keystroke) to create the new sprite with the clipboard content. On the GIMP the shortcut is Ctrl+Shift+V
  • If the clipboard contains an image, we might add a little clipboard tab so when it's pressed a new file is created with the clipboard content
  • Add an option in settings to avoid changing the default size in File > New depending on the clipboard content
@oceanhahn

This comment has been minimized.

Copy link

commented Mar 21, 2016

Perhaps we can roll all of those together and add a check box to the New Sprite pane that gives the option to create New from Clipboard, which locks the width/height fields to the clipboard contents and pastes the clipboard contents automatically upon creation. This way, colour mode and background fill options could also be applied to the new image as well, possibly.
A hotkey could be created that calls New Sprite with that option checked and invokes it automatically, maybe.

It might be nice to roll in some of the things I mentioned in #996 as well, possibly?
I feel like the New Sprite pane could be expanded to include a lot of really useful options without becoming cluttered and present them in a place where they are accessible with only one or two clicks, as well as being in a place where they'll be noticed and used without getting underfoot.

Maybe a submenu could be added as File > New from.. > Selection..., Selection Again, Clipboard..., Clipboard Again, Layer, (etc.), in which New Sprite is called preset with whatever the relevant image sizes and modes are and pastes the appropriate source data into the new image on creation, or reuses the previous settings (with the current data source) if an "Again" function is called.

Food for thought!

@oceanhahn

This comment has been minimized.

Copy link

commented Mar 21, 2016

I do like the idea of a Clipboard tab, though! If you go that route, could the tab also be detachable/floating in the same way the Preview pane is?

@dacap

This comment has been minimized.

Copy link
Member

commented Mar 23, 2016

@oceanhahn I was thinking in something like this:

clip

instead of a tab. When the icon is clicked a new document with the clipboard content is created.

@dacap

This comment has been minimized.

Copy link
Member

commented Mar 23, 2016

(and I have to review #996 yet)

@oceanhahn

This comment has been minimized.

Copy link

commented Mar 23, 2016

@dacap Aa, I see. That makes sense, although I worry slightly that it could get crowded in the tab bar if we keep a lot of projects open at once or keep Aseprite open in a smaller window, rather than fullscreen. Still, I like it!

Would there be an Edit menu option as well and that icon would be a shortcut to it, or were you thinking that the tab-bar icon would be the only means to paste directly to a new file?

@dacap

This comment has been minimized.

Copy link
Member

commented Mar 23, 2016

Would there be an Edit menu option as well and that icon would be a shortcut to it

Yes, at least the icon should be a shortcut for something else that might be called with a keyboard shortcut.

@dacap

This comment has been minimized.

Copy link
Member

commented Mar 23, 2016

Maybe an Edit > Paste as New Sprite menu (related to #672 too)

@dacap dacap added this to the v1.3 milestone Sep 28, 2017

@dacap dacap changed the title Feature Request: "New Image From Paste" Button "New Image From Paste" Button Nov 28, 2018

@dacap dacap self-assigned this Jun 27, 2019

@dacap dacap modified the milestones: v1.3, v1.2 Jun 27, 2019

@dacap dacap closed this in fe41064 Jun 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.