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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Problem with image.export

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
amorris Posted - 02/22/2006 : 3:41:21 PM
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
2   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 02/22/2006 : 5:32:23 PM
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
amorris Posted - 02/22/2006 : 3:59:13 PM
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?

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000