[IPOL discuss] Automatic tool to create the list of credited images

Miguel Colom colom at cmla.ens-cachan.fr
Thu May 23 17:44:07 CEST 2013


Dear all,
I've just coded a new Python script that creates a longtable with the  
images it finds in a LaTeX project, to be used at the Image Credits of  
the IPOL articles.

When the amount of images in the article is large, this tool might  
save some time and avoid doing a repetitive and tedious task.
Of course, some lines might need to be edited by hand if the authors  
or the copyrights are different for some images.

Optional argument: the image directory.
Optional modificators: --author="The author" --copyright="CC BY", for example.

It can be downloaded from:
http://dev.ipol.im/~colom/tools/ipol_credits.py

Example:
./ipol_credits.py images --author="Miguel Colom" --copyright="CC BY"
\begin{longtable}{l l l l}
   \includegraphics[width=.1\linewidth]{images/nc_nosat_IMG_1071.pdf}  
& Miguel Colom, CC BY &
   \includegraphics[width=.1\linewidth]{images/notation_test_GT.pdf} &  
Miguel Colom, CC BY \\
   \includegraphics[width=.1\linewidth]{images/notation_test_Ak.pdf} &  
Miguel Colom, CC BY &
   \includegraphics[width=.1\linewidth]{images/IMG_1071.png} & Miguel  
Colom, CC BY \\
   \includegraphics[width=.1\linewidth]{images/mire.png} & Miguel  
Colom, CC BY &
   \includegraphics[width=.1\linewidth]{images/nc_sat_IMG_1071.pdf} &  
Miguel Colom, CC BY \\
   \includegraphics[width=.1\linewidth]{images/demo/curve_s0.png} &  
Miguel Colom, CC BY &
   \includegraphics[width=.1\linewidth]{images/demo/curve_s2.png} &  
Miguel Colom, CC BY \\
   \includegraphics[width=.1\linewidth]{images/demo/scale_s0.png} &  
Miguel Colom, CC BY &
   \includegraphics[width=.1\linewidth]{images/demo/curve_s1.png} &  
Miguel Colom, CC BY \\
    
\includegraphics[width=.1\linewidth]{images/images_gt_test/E4_curve.pdf} &  
Miguel Colom, CC BY &
    
\includegraphics[width=.1\linewidth]{images/images_gt_test/example_img1_0192.pdf} & Miguel Colom, CC BY  
\\
    
\includegraphics[width=.1\linewidth]{images/images_gt_test/mean_curve_canon_ISO-1600.pdf} & Miguel Colom, CC BY  
&
    
\includegraphics[width=.1\linewidth]{images/images_subscale_test/IMG_1019.png}  
& Miguel Colom, CC BY \\
    
\includegraphics[width=.1\linewidth]{images/images_subscale_test/IMG_0221.png}  
& Miguel Colom, CC BY &
    
\includegraphics[width=.1\linewidth]{images/images_subscale_test/IMG_0213.png}  
& Miguel Colom, CC BY \\
    
\includegraphics[width=.1\linewidth]{images/images_subscale_test/IMG_1030.png}  
& Miguel Colom, CC BY &
    
\includegraphics[width=.1\linewidth]{images/images_subscale_test/IMG_1028.png}  
& Miguel Colom, CC BY \\
    
\includegraphics[width=.1\linewidth]{images/images_subscale_test/IMG_1027.png}  
& Miguel Colom, CC BY &
    
\includegraphics[width=.1\linewidth]{images/images_subscale_test/IMG_0220.png}  
& Miguel Colom, CC BY \\
    
\includegraphics[width=.1\linewidth]{images/images_subscale_test/IMG_0192.png}  
& Miguel Colom, CC BY &
    
\includegraphics[width=.1\linewidth]{images/filtering/lena_filtering.pdf} &  
Miguel Colom, CC BY \\
   \includegraphics[width=.1\linewidth]{images/filtering/lena.png} &  
Miguel Colom, CC BY \\
\end{longtable}

Best,
Miguel




More information about the discuss mailing list