I have prepared patch for the on-demand photo loading.
What patch do
1) Change Makefile.conf in order to spf2spi script installs into bin directory
2) Changes in main.tcl file. Most changes are in readPhotoFile proc.
readPhotoFile proc now
a) search for SPI file. If SPI file was found then proc just source it and exit
b) If SPI was not found and scid has write permissions thaen scid generates SPI file
c) Otherwise in memory index created
New getphoto proc. It retrieves photo from the SPF file using index information.
Other changes (in main.tcl and in pinfo.tcl) are simply one line corrections which allow to use new photo loading method.
Log in to post a comment.