Images are only adresses

Put Claude

Active Member
Licensed User
Longtime User
Hi all,

imagelist.item(3) = imagelist.item(4)
imagelist.item(4) = imagelist.item(3)
So, I think I only substitude the adres to design on, because the memory in list holds the same picture all the time, and do not copy memory from one place to another.
Is this right?
If so, wat is the most easy way to copy image-memory to another image-memory?

Put Claude Belgium
 

Cableguy

Expert
Licensed User
Longtime User
I would say You had to save as file using binary dll and then reload it, but then you're stick with the bitmap format...
What exactly are you trying to do?
 

Put Claude

Active Member
Licensed User
Longtime User
Cableguy,

The files I loaded in the list stay on place in the list.
If I use drawer.New2(imagelist.item(1),B4PObject(5))
to draw on the image it is OK.
bmp1.image=imagelist.item(1) 'bmp1 let see imagelist.item(1)
drawer.New2(bmp1,B4PObject(5)) 'wil draw on bmp1,
but in fact on imagelist.item(1)
bmp2.image=imagelist.item(1) 'bmp2 let see imagelist.item(1)
drawer.New2(bmp2,B4PObject(5)) 'wil draw on bmp2,
but in fact on imagelist.item(1)
If I look to bmp2, I see 2 designs, all on imagelist.item(1)
 

Cableguy

Expert
Licensed User
Longtime User
If I understand you correctly, You get your imagelist item filled with bothe the original and the drawn image (?), i think this shouldn't be possible....

If you want to make your image "persistant" you have to save it, not quite sure on how to do it...
 

Put Claude

Active Member
Licensed User
Longtime User
Hi,
I found out many things about graphics now, so I can work now with references and also copy images in memory, replace them, save them, transparency with them, etc... I am out of the problems FOR NOW... :)

HAVE TO TELL AGAIN, HOW AMAZING THIS B4PPC IS: ones you understand a bit, it go fast... never screw up te editor or my programs, never going into the weeds with anything till now.. GREAT STUFF.

Put Claude Belgium
 
Top