Jump to content
Claris Platform 2023 Roadmap ×

Exportin a "Record/Layout" as image (tga, jpg,etc)


Sebastien Bergeron

This topic is 6054 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi All,

Here the situation:

I have a Layout "pretty graphic" with real world mesurement (pixel - 1920 X 1080) that I would like to export as an image to load up in another application. So, each record, under this layout, would become an image. It need to be in a format like TGA or TIFF or PSD or PNG etc . . .

Please tell me it's possible . . . .

thx

Sebastien

Link to comment
Share on other sites

  • Newbies

I can only think of 2 ways to do this.

Option 1 - Make your screen resolution large enough that your whole layout fits on the screen then use the screen capture function to take a snapshot of each record. Might not be practical if the layout is really large.

Option 2 - Save each record as a .pdf then use one of the various utilities around that converts .pdf's to images.

Cheers

Tim

Link to comment
Share on other sites

Enter Preview Mode[]

Copy

-- Your clipboard now contains a screen shot of the layout. If you open your other application, click new, it usually takes the resolution of the most recent item added to your clipboard.

Link to comment
Share on other sites

If you're exporting the layout as PDF, then you'd be using the Save As PDF step. But either way you'd use the same script Variable technique to calculate the file path, then use that in the export (save as PDF, whatever; same thing as far as the path goes).

If you want the desktop, then you'd do your calculation using the Get ( DesktopPath ) function, and add the file name with extension.

Link to comment
Share on other sites

This topic is 6054 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.