Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: caching of image importer vs image downloader



is there a significent different in the way an image is cached by Quartz Composer when
using image importer vs image downloader?


I am trying to create compositions that animate cycling quickly through all the images in a
folder. I change the image url to a series of image downloaders as it progresses.


using "folder images" and image importer it renders very unevenly, it can't keep an even
framerate and pauses for a long time on some images. this is true even though the images
have already been loaded once and are all on the local harddisk.


if I drag in all the images using image importers and cycle them through a multiplexer it will
render smoothly.


problem is how to have it automatically load images from folders while still having good
performance?

Image Importer always loads the image in RAM / VRAM.

When using Image Downloader, make sure the "use cache" setting is true and it will attempt to cache the downloaded images in RAM / VRAM _but_ only up to a maximum number of Mb: if too many images are in the cache, the oldest will get evicted. You're likely reaching the threshold, therefore the framerate drop.


________________________________________________________ Pierre-Olivier Latour email@hidden Quartz Composer Team Apple Computer, Inc.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >caching of image importer vs image downloader (From: "Roger Bolton" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.