Enlightenment CVS committal Author : andyetitmoves Project : e17 Module : libs/imlib2
Dir : e17/libs/imlib2 Modified Files: README.ID3 Log Message: Added documentation for tag id3-link-url Made the section on performance issues a bit clearer =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/imlib2/README.ID3,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- README.ID3 9 Aug 2005 09:11:02 -0000 1.1 +++ README.ID3 22 Aug 2005 09:50:50 -0000 1.2 @@ -98,6 +98,10 @@ | |encoding used for the string is given by the imlib tag | | |id3-description-text-encoding. | +---------------+---------------------------------------------------------------+ +| |The tag could give an external image URL for the picture | +| id3-link-url |instead of the actual picture data. The loader uses the URL to | +| |load the image then, and exposes the URL given by this tag. | ++---------------+---------------------------------------------------------------+ Eg: to process all images in a file, the following pseudocode should work: @@ -112,11 +116,11 @@ PERFORMANCE ISSUES ------------------ -The loader parses picture data from audio files and caches them, as long as any -of the images using the data exist. This is useful when there are many images in -the same file, as loading subsequent images use this cache. So, caching is -turned off when there is only one image in the file, and turned on -otherwise. When memory consumption is of importance, developers likely to use -this loader frequently need to keep this in mind when deciding on the imlib -cache size - with caching on, as long as the image remains in use or in cache, -this parsed data stays along. +An ID3v2 tag can contain many picture frames, and it is economical to get all +the picture frames from a tag all at once. So, when the loader is called for one +frame of the tag, and there is more than one frame in the tag, the picture data +for all the frames is parsed and cached, to speed up the loading of the other +picture frames. When memory consumption is of importance, developers likely to +use this loader frequently need to keep this in mind when deciding on the imlib +cache size - as long as the image remains in use or in cache, this parsed data +could stay along. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs