Transfering an image
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Transfering an image
Hi, I can't figure out how to (permanently) get an image I found on the user spaces of revonline (games). I can cut and paste the image to my program, but when I close the program it is gone. The image is a billiard ball in the program nineball with spin.rev. The image is a button(??) and I don't know how to transfer it to my (windows) desktop so I can import it to my program. I'm not so sharp with paths so you would need to be specific with directions. I assume I could just transfer it to a Photoshop file and then import it from there?
Dennis
Dennis
Re: Transfering an image
To save a image in a button. Is this the question? if so here how: Select Menu / Development / in menu select Image Library.
In the Image Library select with the option button; This Stack
Use the import button, select your image to import from your system.
Note the image will be visible in the stack to make invisible, open the inspector and uncheck visible while the image is selected.
Then add a button, you may want to make the button a transparent button from the inspector style menu.
Then while the button is selected, in the inspector, go to icons and boarders. Click on the button by the icon field. select your image that you imported.
Now the image is saved in the button, do not forget to save the stack changes before quitting.
To transfer, do you have a physical copy of the image? or a screen shot?
you just need an image, PNG would be best if it is has a alpha mask to it.
Gif also works but can be a little ruff around the edges.
I hope this was the info your looking for.
-ob
In the Image Library select with the option button; This Stack
Use the import button, select your image to import from your system.
Note the image will be visible in the stack to make invisible, open the inspector and uncheck visible while the image is selected.
Then add a button, you may want to make the button a transparent button from the inspector style menu.
Then while the button is selected, in the inspector, go to icons and boarders. Click on the button by the icon field. select your image that you imported.
Now the image is saved in the button, do not forget to save the stack changes before quitting.
To transfer, do you have a physical copy of the image? or a screen shot?
you just need an image, PNG would be best if it is has a alpha mask to it.
Gif also works but can be a little ruff around the edges.
I hope this was the info your looking for.
-ob
transfering an image
No, the image I'm talking about is a transparent button. It was probably made with Photoshop and is a PNF. I want to save this image onto my computer so I can use it in a new program I am working with. (But thanks for your answer, I didn't know that either).
Dennis
Dennis
To save an image as a file on your desktop you could try this
Select the button, open the property inspector, go to the Icons and Borders pane and note the icon number. This relates the image shown on the button to an actual image control stored somewhere else in the stack.
In the Nine Ball stack I think the images are just stored on the same card but are invisible so type
show image id <button image id>
This should cause the image control to appear. You can then use the put command to save the image as a file eg
put the text of image <image name> into url ("binfile:" & filepath)
I hope this helps
Elanor
Select the button, open the property inspector, go to the Icons and Borders pane and note the icon number. This relates the image shown on the button to an actual image control stored somewhere else in the stack.
In the Nine Ball stack I think the images are just stored on the same card but are invisible so type
show image id <button image id>
This should cause the image control to appear. You can then use the put command to save the image as a file eg
put the text of image <image name> into url ("binfile:" & filepath)
I hope this helps
Elanor
Elanor Buchanan
Software Developer
LiveCode
Software Developer
LiveCode