How to work with Image, in print and standalone

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Rf928
Posts: 10
Joined: Tue Apr 02, 2013 5:59 am

How to work with Image, in print and standalone

Post by Rf928 » Sat Mar 22, 2014 12:52 am

I have my printing to PDF application working, until I struggled with an image.

I need to be able to display an image on the page, and when it prints to PDF it should still be visible. Well, when I print, and look at the PDF the image isn't there. I am also struggling with it in another regard, when I save to standalone. I save, and it all work perfect although the image isn't there.

How am I supposed to insert an image for it to appear in the resulted "printed" PDF as well as the standalone?

Currently I am using an image area, and then referencing another image on my computer. I also tried to import image as control, and it still didn't appear in the PDF or the standalone.

Thank you.

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: How to work with Image, in print and standalone

Post by Simon » Sat Mar 22, 2014 6:43 am

Hi Rf928,
I can answer 1 part of your question;
I am also struggling with it in another regard, when I save to standalone.
You cannot save to a standalone, once it's built it cannot change.
You would save the image to a folder (like specialFolderPath("documents")) then re-import it when needed. You'll also need another file saved that describes the new image, normally it's called a "preference" file.

Make sense?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply