![]() |
|
#1
| |||
| |||
| save as tif in vbscript? Howdy, I'm trying to get a VBscript put together that will open a file (dcr), rotate it, and then save it as a tiff file. I haven't been able to find a command in VBscript to save the file in tiff format. I can't imagine it can't be done - Adobe even provides an AppleScript that saves as a Tiff - but I'm at a loss on how to do it with VBscript and Adobe choose not to offer an example. Any suggestions? Thanks -Steve |
|
#2
| ||||
| ||||
| Hi Steve: In addition to any replies you get here at RetouchPRO (sorry I can't help you on this specific issue), here's a site you might want to bookmark if you're not aware of it: the Adobe Photoshop Scripting forum. A number of real sharp programmer-type folks hang out there: Adobe Scripting Forum Welcome to RetouchPRO. Hope this helps. ~Danny~ |
|
#4
| |||
| |||
| why not do it in javascript since it's cross platform? Code: /////////////////////////// // TIFF // /////////////////////////// //TIFF File Save Options var saveTIFF= new TiffSaveOptions(); saveTIFF.alphaChannels = false; saveTIFF.annotations = false; // Options: IBM, MACOS (default is based on OS) saveTIFF.byteOrder = ByteOrder.MACOS saveTIFF.embedColorProfile = false; // Options: NONE, JPEG, TIFFLZW, TIFFZIP saveTIFF.imageCompression = TIFFEncoding.NONE; // Only valid for imageCompression.JPEG encoded TIFF Documents ( value of 0 - 12 ) saveTIFF.jpegQuality = 12 // Options: ZIP, RLE should only be used when you are saving layers saveTIFF.layerCompression = LayerCompression.ZIP saveTIFF.layers = true; saveTIFF.saveImagePyramid = false; saveTIFF.spotColors = false; saveTIFF.transparency = false; activeDocument.saveAs(new File(outputFolder + "/" + activeDocument.name.slice(0,-4) + ".tiff"), saveTIFF); |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to save in sRGB (PS7)? | plove53 | Input/Output/Workflow | 2 | 09-05-2007 02:16 AM |
| Photoshop Elements Batch processing: Save for Web | hollow_dimm | Photoshop Elements Help | 12 | 07-01-2007 10:11 PM |
| Cant save as jpg or anything but bmp | Kraellin | Software | 5 | 01-28-2007 09:50 AM |
| configuring save option automation | saumya | Photoshop Scripting | 0 | 07-22-2005 04:47 AM |
| Save! Save! Save! | winwintoo | Photo Retouching | 12 | 10-31-2002 09:12 PM |