Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Blending two images
#3
Code: (Select All)
Screen _NewImage(800, 600, 32)

image& = _LoadImage("1.png", 32)
W = _Width(image&): H = _Height(image&)

newimage& = _NewImage(W - 1, H - 1, 32)

_PutImage (W \ 2, 0)-(W, H), image&, newimage&, (W \ 2, 0)-(W, H) 'right half
_PutImage (0, 0)-(W \ 2, H), image&, newimage&, (W, 0)-(W \ 2, H) 'left half

_PutImage (100, 100), newimage& 'place done image

PutImage is enought for this use.


Reply


Messages In This Thread
Blending two images - by Ikerkaz - 02-28-2023, 09:21 AM
RE: Blending two images - by bplus - 02-28-2023, 02:53 PM
RE: Blending two images - by Petr - 02-28-2023, 03:59 PM
RE: Blending two images - by Ikerkaz - 02-28-2023, 04:23 PM
RE: Blending two images - by bplus - 02-28-2023, 05:41 PM
RE: Blending two images - by TerryRitchie - 02-28-2023, 05:59 PM
RE: Blending two images - by Ikerkaz - 02-28-2023, 07:03 PM
RE: Blending two images - by TerryRitchie - 02-28-2023, 07:21 PM
RE: Blending two images - by Ikerkaz - 03-03-2023, 07:49 AM
RE: Blending two images - by Ikerkaz - 03-03-2023, 09:23 AM



Users browsing this thread: 4 Guest(s)