RetouchPRO

Go Back   RetouchPRO > Tools > Software > Photoshop Scripting

Notices

Photoshop Scripting Learning and sharing for all platforms

Reply
 
LinkBack Thread Tools
  #1  
Old 06-01-2004, 02:33 PM
Junior Member
 
Join Date: Jun 2004
Posts: 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #2  
Old 06-01-2004, 04:44 PM
DannyRaphael's Avatar
Moderator
Patron
 
Join Date: Mar 2002
Location: Near Seattle, Washington, USA
Posts: 5,626
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~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #3  
Old 06-01-2004, 08:29 PM
Doug Nelson's Avatar
Janitor
 
Join Date: Aug 2001
Posts: 3,921
Blog Entries: 20
The "SaveAs" method allows "ExtensionType as Variant" as a parameter. How this works, I have no idea, but I suspect its a possible solution.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #4  
Old 06-02-2004, 04:03 PM
Junior Member
 
Join Date: Jun 2004
Location: Twin Cities, MN
Posts: 7
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);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
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


All times are GMT -6. The time now is 07:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 2008 Doug Nelson. All Rights Reserved




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51