01-13-2023, 02:24 PM
(This post was last modified: 01-13-2023, 02:27 PM by mnrvovrfc.
Edit Reason: Discovered "lh" wasn't properly declared.
)
Running this program on Manjaro MATE:
For this picture converted by GIMP to PNG file, which is 4.5MB in size:
https://en.wikipedia.org/wiki/Linux_dist...0_2021.svg
Observe the screenshot:
Code: (Select All)
dim lh as long, i as long
dim apic$
apic$ = environ$("HOME") + "/Pictures/linux-distros-wikipedia.png"
for i = 1 to 10
print i
lh = _width(_loadimage(apic$, 32))
next
print "Press any key to get away..."
do : ke$ = inkey$ : loop until ke$ = ""
do : _limit 20 : ke$ = inkey$ : loop while ke$ = ""
system
For this picture converted by GIMP to PNG file, which is 4.5MB in size:
https://en.wikipedia.org/wiki/Linux_dist...0_2021.svg
Observe the screenshot: