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

Possibly Related Threads…
Thread Author Replies Views Last Post
  about Hardware Images and _DisplayOrder,Help! qbfans 11 585 02-11-2026, 07:10 AM
Last Post: SMcNeill
  Nth problem with hardware images Ikerkaz 9 507 01-23-2026, 02:58 PM
Last Post: bplus
  Hardware images questions Dav 5 478 12-04-2025, 04:18 PM
Last Post: Pete
  Hardware images...Talk to me! Unseen Machine 5 747 09-22-2025, 11:12 PM
Last Post: TempodiBasic
  Transparency with Hardware Images NakedApe 8 1,040 07-10-2025, 09:47 AM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)