-
Acquisition of image width and height.
-
oNmagemanCOM.Load("xxx.jpg"):
nWidth = oNmagemanCOM.Width:
nHeight = oNmagemanCOM.Height:
-
Acquisition of image format.(jpg,gif,png,...)
-
oNmagemanCOM.Load("xxx.jpg"):
nFormat = oNmagemanCOM.Format: '// JPEG: 1
-
Acquisition of image metadata.(EXIF,GPS,...)
-
oNmagemanCOM.Load("xxx.jpg"):
set oGPS = oNmageman.Metadata(3)
-
Change of image width and height, and save.
-
oNmagemanCOM.Load("xxx.jpg"):
oNmagemanCOM.Width = 100:
oNmagemanCOM.Height = 100:
oNmagemanCOM.Save("xxx.jpg"):
-
Change of image format, and save.
-
oNmagemanCOM.Load("xxx.jpg"):
oNmagemanCOM.Format = 13: '// PNG: 13
oNmagemanCOM.Save("xxx.png"):
-
Handling of image in stream(memory,etc...).(ADODB.Stream,...)
-
oNmagemanCOM.Load(oStreamIN):
oNmagemanCOM.Width = 240:
oNmagemanCOM.Save(oStreamOUT):
-
Overlapping of image.(Paste function)
-
oNmagemanCOMBase.Load("base.jpg"):
oNmagemanCOMSeal.Load("seal.png"):
oNmagemanCOMBase.Paste oNmagemanCOMSeal: