#2 on-demand photo loading

Unstable_(example)
closed
nobody
None
5
2013-04-08
2009-02-10
No

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.

Discussion

  • Mikhail Kalenkov

    patch for the on-demand photo loading

     
  • Mikhail Kalenkov

    SPI generation script

     
  • Mikhail Kalenkov

    I have tested my patch only on my linux box. Any suggestions, corrections, improvements are welcome.

     
  • Mikhail Kalenkov

    spf2spi.tcl script should be placed into scid/scripts directory.

     
  • Fulvio

    Fulvio - 2013-04-08
    • status: open --> accepted
    • milestone: --> Unstable_(example)
     
  • Fulvio

    Fulvio - 2013-04-08
    • status: accepted --> closed
     
  • Fulvio

    Fulvio - 2013-04-08

    already in current code

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks