T O P I C R E V I E W |
Bob |
Posted - 02/13/2002 : 9:33:49 PM If I want to export a bitmap using: image.export(%a,bmp)
from in labtalk can I automatically change the color depth like I can manually by doing this: Click File -> Export Page -> Show Export Options checked -> Save -> Color Depth= 256 -> DPI = 150 -> OK
Or is there an alternate way? I'm using Origin 6.0 SR4. Thanks --Bob |
2 L A T E S T R E P L I E S (Newest First) |
Bob |
Posted - 02/18/2002 : 6:02:37 PM Cool Craig, Thanks.
|
CStorey |
Posted - 02/14/2002 : 1:09:54 PM Hi Bob,
The LabTalk commands you are looking for in 6.x are:
image.filename$="C:\....\yourfilename.BMP"; image.exportPixel(BMP,pic_width,pic_height,bits,0); //Origin 6.0 image.export.PagePixel(BMP,pic_width,pic_height,bits,0); //Origin 6.1
The final 0 is for % compression which is not supported for BMPs. (I'm not sure whether it was supported for any format in v6.0)
You shouldn't have problems with BMPs. You will have to play with the width/height/colour depth quite a bit to get really good images with other formats. Good luck.
Craig Storey Origin WebRing Member - http://g.webring.com/hub?ring=originwebring
Edited by - CStorey on 02/14/2002 18:18:02
Edited by - CStorey on 02/14/2002 18:19:09 |
|
|