Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Take machine's screen scale factor into account #1

Open
itsthejb opened this issue Aug 4, 2014 · 0 comments
Open

Take machine's screen scale factor into account #1

itsthejb opened this issue Aug 4, 2014 · 0 comments

Comments

@itsthejb
Copy link

itsthejb commented Aug 4, 2014

Hey Jan,

Handy little lib, but it seems the image rendering is not device independent: on a retina-screened device this will double the size of the destination image, on a non-retina screen it will remain 1:1. This would suggest that it's drawing the source image into a context with a scale factor to 2 for retina screens, and 1 otherwise.

Unfortunately Xcode validates icon sizes when using Asset Catalogues so this results in failed builds.

No time to do a PR, I'm afraid 😢

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

1 participant