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
Resize Images and merge with big image (PIP)
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 44470
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Resize Images and merge with big image (PIP)
No, you must save it, or perhaps use another GFLAx objectsk23456 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
Pierre.
-
- Posts: 2
- Joined: Fri Apr 27, 2007 2:28 pm
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)
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)
-
- Author of XnView
- Posts: 44470
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Right, i must add such method, currently it's not possiblesk23456 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)
Pierre.