Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaced the loading method with its call to a lower method that pass…
…es in the same valued, with the exception being the target size. In the previous call it was sending a CGSizeZero for the size, which when going through the React_ImageLoader, would load the whole image at full size, but also make a uncompressed version of that image as a CGImage, which would then be transformed and resized buy the method, but by passing in the desired target size here, we are able to load the image in the correct size and be lighter on the memory usage for large images, and then the rest of the transform can take place. (#248)
- Loading branch information
55be4fa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, I'm curious about the following. Does loading the image this way resize the image first? Does it mean we are resizing the image twice?