CSS-SpriteMaker
    
    
  
  
  
view release on metacpan or search on metacpan
lib/CSS/SpriteMaker/Layout/DirectoryBased.pm view on Meta::CPAN
                height => 128,
                pathname => '/full/path/to/file1.png',
                parentdir => '/full/path/to',
            },
            ...
        }
    );
Layout items based on the directory they are contained in and their filename.
All items contained in the same sub directory are cascaded on the same row of 
the layout.
Input hashref items must contain the following keys
for this layout to produce a result:
- pathname : the full pathname of the file;
- width : the width in pixels of the image;
- height : the height in pixels of the image;
lib/CSS/SpriteMaker/Layout/Packed.pm view on Meta::CPAN
                width => 128,
                height => 128,
                pathname => '/full/path/to/file1.png',
                parentdir => '/full/path/to',
            },
            ...
        }
    );
All items will be packed throughcontained in the same sub directory are cascaded on the same row of 
the layout.
Input hashref items must contain the following keys
for this layout to produce a result:
- pathname : the full pathname of the file;
- width : the width in pixels of the image;
- height : the height in pixels of the image;
( run in 0.398 second using v1.01-cache-2.11-cpan-c333fce770f )