Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Double size (@2x) #10

Open
nicooprat opened this issue Feb 4, 2014 · 3 comments
Open

Double size (@2x) #10

nicooprat opened this issue Feb 4, 2014 · 3 comments

Comments

@nicooprat
Copy link

Would be great to have an option to specify if we want (or not) a second export at double size for hi-res displays. A suffix option would be even greater (@2x by default I guess).

Btw, thanks for your plugin, saved me hours of work :)

@fliptheweb
Copy link

@nicooprat Hm, why you want to use a @2x png when you could use svg? I think all browsers on hi-res display could show svg ;)

@nicooprat
Copy link
Author

You're certainly right, but I came across a case for a client when I needed to double the size of images for big screens... It's a bit complicated I know.

But I also thought it could be useful for mobile app developers for example that could have one SVG file as source, and use this grunt plugin to generate all PNG needed from it.

Need more feedbacks from other people I guess.

(One note though : the screen is hi-res, but the browser is completely independent. One could use IE8 with Virtualbox on a MBPr :) I don't know how it's supposed to work in this case...!)

@jmalonzo
Copy link

Hi! I think this feature will become more useful as sites start to have their own Web app manifest, as Android, for example, don't support SVGs in the home screen (yet) and Chrome expects a PNG in the manifest.

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

No branches or pull requests

3 participants