I'd be willing to bet it is a corrupted image. The external programs are probably trimming out bad data which just so happens to stop after the first cursor. QB64 probably doesn't care or validate the data too well and displays it anyways. I've downloaded corrupted images before by storing the buffer of an image incorrectly and had a similar problem. QB64 couldn't display it but external programs could, but only part of the image as the rest was lost or corrupted.
D:\Temp2>pngcheck temp.png
OK: temp.png (2080x120, 32-bit RGB+alpha, non-interlaced, 99.6%).
There's something odd about temp.png look how it's (not) centered in my Thumbnail pictures:
[ This attachment cannot be displayed inline in 'Print Page' view ]
Wait, are you saying the colorful cursors are supposed to be there?
Odd, it it an Animated PNG image?
My old favorite Paint Shop Pro v4.14 loads it like QB64, but others don't seem to.
- Dav
Look for the extra ancillary chunks to identify it's an animated png: https://en.wikipedia.org/wiki/APNG
I just loves you to pieces for finding this one. No, honestly! Where’s my chainsaw? I’m gonna love you to pieces! ;D
There is a possibility that the image may be an animated png.
Once again as a png picture. - I always copied it as a png image.
Hey look, I just put a corrupted png of Joe Biden in QB64, and it came out uncorrupted, so it now looks like Trump! Thanks QB64!
Pete
@SMcNeill Yes, it has watermarks but that's whatever. Just look at how it appears after being repaired.
What I have to do that it do not work? :-; -- In Photoshop.
I'd be willing to bet it is a corrupted image. The external programs are probably trimming out bad data which just so happens to stop after the first cursor. QB64 probably doesn't care or validate the data too well and displays it anyways.
I imagine it’s probably something very simple, like the header file reporting a colortype 6 (32-bit color) when it should be colortype 3 (256 color with palette). QB64 might read it as a 256-color image just by seeng the palette chunk, and then convert up to 32-bit images, while other programs read that COLOR 40 (bright red) as _RGBA(0, 0, 0, 40)....So pretty much along the lines of what I was saying. Bad data that QB64 doesn't care about but other programs do.
So pretty much along the lines of what I was saying. Bad data that QB64 doesn't care about but other programs do.
Hi Steve. I add _CLIPBOARDIMAGE = san (san is us output image) and then running windows paint. Pressing Ctrl + V and.... the same output as in your PNG format. You alone says, that _PUTIMAGE do something wrong. If you look to my source to row 421, so it is _PUTIMAGE, which create output image. Then again save BMP.... and is correctly, but _CLIPBOARDIMAGE is still wrong... so _CLIPBOARDIMAGE also contains the same bug?