GraphicsGridTest2.frink

Download or view GraphicsGridTest2.frink in plain text format


/** This makes a "contact sheet" showing all of the jpg or png images in the
    current folder. */


use glob.frink
use GraphicsGrid.frink

gg = new GraphicsGrid

for f = lexicalSort[filesGlob["*.{jpg,png}"]]
{
   i = new image[f]
   g = new graphics
   g.add[i] 
   g.caption[f.getName[]]
   gg.add[g]
}

gg.layout[].show[]


Download or view GraphicsGridTest2.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen, eliasen@mindspring.com