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
 Problem with image.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

amorris

Canada
Posts

Posted - 02/22/2006 :  3:41:21 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5SR6
Operating System: WINXP

Hi everyone,

This is more of an annoyance than anything else. When I try to export a gif image from a labtalk script like this:

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

I always get a gif options dialogue box. Why is this? I allready specify all the info in the export command.

The only way to get around this that I've found was to manually export something with the file->export page command and uncheck the "show export options" check box.

On a side note, I have to say that I find the origin help files really frustrating. For example, if I search the index for image.export I get nothing. I do get "image object" and "image.import subobject" but not image.export. Even more frustrating is that I can't access the image.export info from the image info page.

Thanks,

Alexis

amorris

Canada
Posts

Posted - 02/22/2006 :  3:59:13 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Another weird thing:

for some reason, I have use the export command 2X in a row if I want the output to look the way it is supposed to be, like so:

Image.Export.PagePixel( gif, 640, 480, 24, 0 );
Image.Export.PagePixel( gif, 640, 480, 24, 0 );

Here are two examples. In the first, I only use the export command 1X and I get gif files that look "squished", and the x-axis label is missing:

If I repeat the image.export command 2X in a row, I get the correct output:


Any ideas as to why this happens?
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 02/22/2006 :  5:32:23 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Alexis,

Don't know about the second problem but image.showOptions=0 should solve the first.

...Just guessing that this topic might relate to the second problem.
http://www.originlab.com/forum/topic.asp?TOPIC_ID=3569

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 02/22/2006 5:38:24 PM
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