Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_Putimage Question.
#6
Ah, you found a way to shrink it back to the original size, but...

Run the code again, but use t = _NewImage(120, 120, 32). It will still make our triangle in the upper left corner on the source image screen, but for some reason (I don't understand why) changing to a larger _NewImage screen ALSO changes the size of the triangle, and in both our codes.

So I tried messing around with: _PutImage (sx1, sy1 + TopTriangle)-(sx2, sy2 + TopTriangle), tri&, 0, (0, 0)-(15, 15) hoping the (0, 0)-(15, 15) would mean get just the area of _NewImage from the top-left to the width and height of the image, but no bueno! It still gave me the exact save stretch effect in the smaller _NewImage screen code. Sad

It's cool _PutImage can do so many things, but until I get a better understanding of what exactly is needed to use it correctly in those various situations I'm probably just going to use my method, and just always draw a bloated _NewImage screen to avoid problems when I'm also inverting an image.

I like that your example uses STEP, which I haven't used before. I see how it works, but I don't understand it.

Pete
Reply


Messages In This Thread
_Putimage Question. - by Pete - 01-04-2026, 04:33 PM
RE: _Putimage Question. - by bplus - 01-04-2026, 04:46 PM
RE: _Putimage Question. - by Pete - 01-04-2026, 04:56 PM
RE: _Putimage Question. - by bplus - 01-04-2026, 05:06 PM
RE: _Putimage Question. - by bplus - 01-04-2026, 05:16 PM
RE: _Putimage Question. - by Pete - 01-04-2026, 06:07 PM
RE: _Putimage Question. - by bplus - 01-04-2026, 07:19 PM
RE: _Putimage Question. - by SMcNeill - 01-04-2026, 06:52 PM
RE: _Putimage Question. - by bplus - 01-04-2026, 07:36 PM
RE: _Putimage Question. - by Pete - 01-04-2026, 09:09 PM
RE: _Putimage Question. - by SMcNeill - 01-04-2026, 09:21 PM
RE: _Putimage Question. - by Pete - 01-04-2026, 09:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Nice simple, I hope, question Mad Axeman 4 360 12-20-2025, 09:28 PM
Last Post: SMcNeill
  _putimage (Solved) Pete 0 224 11-16-2025, 06:48 AM
Last Post: Pete
  NewBie Question niteflyer 2 345 11-06-2025, 07:11 PM
Last Post: Petr
  A Question About _MAPTRIANGLE Magdha 2 388 11-02-2025, 11:37 AM
Last Post: Magdha
  '$include: 'file.tmr' Timing Question pmackay 2 439 10-16-2025, 12:20 PM
Last Post: a740g

Forum Jump:


Users browsing this thread: 2 Guest(s)