
I am trying to get an image out of a file on a button.
This all works well but the image is distorted.
When I import the same image in a stack there is no problem.
I attached a sample stack and included the jpg image file to show you what I mean.
The goal is to get an image from a database and use it in a button without to have it be imported into a stack.
If it is not possible without importing it into a stack as a control I would like to get a sample script on how to import an image as a control from a file into a stack (could not find the right code).
Kind regards,
Paul