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

Enhancement - parameter to double the size with @2x #213

Open
johndpope opened this issue Jan 18, 2021 · 3 comments
Open

Enhancement - parameter to double the size with @2x #213

johndpope opened this issue Jan 18, 2021 · 3 comments

Comments

@johndpope
Copy link

https://cdn.shopify.com/s/files/1/0023/8639/5172/products/[email protected]?v=1569423464

While it's trivial to just manually double the size / dimensions
it would be a nice to have to pass in @2x somewhere in the url to upscale this.

/100x100/. -> @2x would upscale to 200x200

@phy25
Copy link

phy25 commented Apr 17, 2021

This seems to be something configurable with ImageMagick syntax: https://imagemagick.org/script/command-line-processing.php#geometry - you can either upscale or downscale.

I don't understand why you want to upscale your image though - you are not improving the image dimension in any way by upscaling.

@johndpope
Copy link
Author

technically if the original image is say 1mb - 1000x1000 pixels- and you mostly want 100x100 - but for retina - you want @2x it would be 200x200 - the phone would be downloading a larger (though not largest) resolution.

@johndpope
Copy link
Author

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

No branches or pull requests

2 participants