Page 1 of 1
Resize Images and merge with big image (PIP)
Posted: Fri Apr 27, 2007 2:33 pm
by sk23456
Is it possible:
e.g. 3 Images
Resize image 1
resize image 2
place both images in image 3
I know how to drawimage and merge image but i don´t now
how to resize and then draw without saving the resized image first
Thank you
Stephan
Re: Resize Images and merge with big image (PIP)
Posted: Sat Apr 28, 2007 8:20 am
by xnview
sk23456 wrote:Is it possible:
e.g. 3 Images
Resize image 1
resize image 2
place both images in image 3
I know how to drawimage and merge image but i don´t now
how to resize and then draw without saving the resized image first
No, you must save it, or perhaps use another GFLAx object
Posted: Mon Apr 30, 2007 8:05 am
by sk23456
how does it work? how can i integrate the resized file into the mergeaddfile?
Example (not working)
file = result.jpg
Set ctrl = createobject("GflAx.GflAx")
Set ctrl2 = createobject("GflAx.GflAx")
ctrl.LoadBitmap FiletoResize
ctrl.Resize 420, 320
ctrl2.LoadBitmap basefile
ctrl2.MergeAddFile ctrl, 40, 0, 0
ctrl2.Merge
ctrl2.SaveformatName = "jpeg"
ctrl2.SaveBitmap(file)
Posted: Mon Apr 30, 2007 9:00 am
by xnview
sk23456 wrote:how does it work? how can i integrate the resized file into the mergeaddfile?
Example (not working)
file = result.jpg
Set ctrl = createobject("GflAx.GflAx")
Set ctrl2 = createobject("GflAx.GflAx")
ctrl.LoadBitmap FiletoResize
ctrl.Resize 420, 320
ctrl2.LoadBitmap basefile
ctrl2.MergeAddFile ctrl, 40, 0, 0
ctrl2.Merge
ctrl2.SaveformatName = "jpeg"
ctrl2.SaveBitmap(file)
Right, i must add such method, currently it's not possible