ImageInfo

2 Super basic entities for image info, width, height, size, color model and such, over at https://github.com/sigmaprojects/cf-imageinfo.
Below is is a simple demo –
1: Get the file info
2: get the image info
3: Blend
4: Throw
5: Done

var fileInfo = GetFileInfo( imageFilePath );
var imgInfo = ImageInfo(imageRead(imageFilePath));</code>

var allData = {};
structAppend(allData,fileInfo,true);
structAppend(allData,imgInfo,true);

var ImageInfo = new model.imageinfo(
   argumentCollection=allData
);

EntitySave(ImageInfo);

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

WordPress Appliance - Powered by TurnKey Linux