The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 automatic eps export
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

quickkk

Canada
23 Posts

Posted - 01/26/2005 :  5:18:27 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5
Operating System: win2k

Hi,

How can we export eps graphic files directly using labtalk. Right now I can do jpg, bmp and gif using:

image.FileName$ = "%Z%W.gif";
Image.Export.PagePixel( gif, 640, 480, 24, 0 );

But if I do the same thing using eps instead of gif, it doesn't work. I tried looking in the help files, but they were quite vague and of no use for this particular problem.

Thanks!

eparent

118 Posts

Posted - 01/27/2005 :  10:20:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
LabTalk's Image.Export.PagePixel can only export to raster formats. Use Image.Export.PageDPI to export vector formats. The syntax is similar.

Image.Export.PageDPI(<format>, <dpi>, <bpp>, <compression>)

Note: the PageDPI method can be used for exporting to both raster and vector formats.


Go to Top of Page

quickkk

Canada
23 Posts

Posted - 02/10/2005 :  4:07:56 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks eparent, that's just what I needed to know.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000