Make it possible to save only scaled image #94

Open
andaag opened this Issue Jan 30, 2013 · 7 comments

Projects

None yet

6 participants

@andaag
andaag commented Jan 30, 2013

I think this would be a fairly common usage scenario. We have an app with a list of images. We only use the images in the list, and as such we only need to save the scaled image.

Actions:
Initiate a imageloader with setSaveThumbnail(true);
Load images in list.

Result:
Images are saved both originally, and scaled.

Desired result:
Images are saved only scaled, as that's the only data we are going to need. Of course this behavior should be optional :)

@micHar
micHar commented Mar 11, 2013

I would be interested in such a feature too.

@charroch
Member

makes sense, @ouchadam how difficult will this be to implement

@ouchadam
Collaborator

We (should) only save the scaled image see here , could you show how you know both the original and scaled images are being saved?

@friedger
Contributor

The UrlNetworkManager creates a file from the URL stream using the location
from getImageFile() in the LoaderTask

2013/3/12 Adam Brown notifications@github.com

We (should) only save the scaled image see herehttps://github.com/novoda/ImageLoader/blob/master/core/src/main/java/com/novoda/imageloader/core/loader/util/LoaderTask.java#L99, could you show how you know both the original and scaled images are being
saved?


Reply to this email directly or view it on GitHubhttps://github.com/novoda/ImageLoader/issues/94#issuecomment-14767486
.

@ouchadam
Collaborator

I see, I assumed all bitmap saving would be handled by the FileManager, time for a refactor!

@ataulm
Contributor
ataulm commented Nov 4, 2013

@ouchadam do you remember if this was done? 💃 Cleaning up the issues and closing the ones which aren't applicable anymore.

@ataulm
Contributor
ataulm commented Dec 16, 2013

// this issue is still open/valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment