Plugin Name:
iMagik 1.0.0.0
Description:
iMagik ++ Action Plugin is an Image Processing Filters.
Funtions:
iMagik.Infos
iMagik.HelloWorld
iMagik.Modify
Ejemplo:
Enlace actualizado a fecha 02/04/2013
iMagik 1.0.0.0
Description:
iMagik ++ Action Plugin is an Image Processing Filters.
Funtions:
iMagik.Infos
iMagik.HelloWorld
iMagik.Modify
Ejemplo:
-- Exemple 1:
-- Get the input filename path from an image object (for exmple) and convert to 8.3 dos naming convention:
xfilename = Image.GetFilename("Image1");
shortname = File.GetShortName(xfilename);
-- Run function:
bRotate = iMagik.Modify ( "Rotate", shortfi, {90}, "test.png" )
-- Load the new rotated image into the same image object if a rotation was a success:
if ( bRotate ) then
Image.Load("Image1", "AutoPlay\\Images\\test.png");
end
--**********************************************************
-- Note: After rotation image size will be differente
-- in most of cases. Expected if:
-- image width = image heigth and if,
-- rotation angle = 90°, 180°, 270°, 360°
-- ( image need to be croped if this conditions are
-- not respected)
--**********************************************************