Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_PutImage for Image reflection
#1
A quick proof of concept for reflecting an image using _PutImage
Code: (Select All)
_Title "Reflection of an image" ' b+ 2022-05-07
Screen _NewImage(200, 300, 32)
_ScreenMove 400, 200
img& = _LoadImage("qb64.png")
_PutImage (0, 0)-(199, 199), img&, 0
_PutImage (0, 200)-(199, 299), img&, 0, (0, _Height(img&) - 1)-(_Width(img&) - 1, 0)
Line (0, 199)-(199, 200), &HFF000066, BF
Sleep


Attached Files Thumbnail(s)
   

.zip   Reflection by flip image.zip (Size: 3.33 KB / Downloads: 157)
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  _Putimage Question. Pete 11 672 01-04-2026, 09:33 PM
Last Post: Pete
  _putimage (Solved) Pete 0 219 11-16-2025, 06:48 AM
Last Post: Pete
  error doing image collision detection with _MemGet madscijr 55 4,658 10-01-2025, 03:25 PM
Last Post: bplus
Photo from png tile, create symmetrical screen image hsiangch_ong 11 932 08-23-2025, 01:23 AM
Last Post: bplus
  need help printing a scaled string in a custom font to a 32-bit image madscijr 9 1,148 07-03-2025, 04:48 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)