Solved

exporting image to gif format

Posted on 1998-10-06
4
187 Views
Last Modified: 2010-04-03
I have created an Action that exports a non-gif image to gif format. During the recording, the gif image was saved in folder C:\Temp, the same folder that has the original image. After the script was recorded, it shows the folder "C:\Temp" under the Action export.

This works fine everytime I'm exporting images from this folder, since I want the exported files to be in the same folder as the original files.

The problem happens when I'm exporting files from a different folder. The program will, by default, put the exported files into C:\Temp rather than the folder the original files were in.

I'm doing this using OLE automation (because I have to). I know if you do this within photoshop, you have the option of selecting where you want the exported image to be placed. And if I use OLE automation, I also have the option of deciding where the exported image will be placed using a dialog box.

But I want it so the user will not have to select any folder and the program will place the exported images into the same folders as the originals, rather than C:\Temp. Makes sense? I hope so.
0
Comment
Question by:hobster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Expert Comment

by:rakkas
ID: 1115517
Shouldn't It just be to include 'Save' (rather than 'Save as...' or 'export') in the action, and when batchprocessing; make sure that you select target=None (since you've already included the 'Save' command in the action itself.
Notice that you must save the image in the same format, othervise the 'Save as..' dialog will pop up instead of just saving It right of!!


0
 
LVL 2

Author Comment

by:hobster
ID: 1115518
I'm not doing any batch processing. I have to use visual basic to create an ole automation program that exports one non-gif image to a gif format. Photoshop will not let you save a non-gif image to a gif format. You have to use export.

The problem is where the exported files get placed in.
0
 

Accepted Solution

by:
nlove earned 10 total points
ID: 1115519
Can you specify a path at any point in the OLE automation? Try using a dot '.' as part of your path name as the dot means 'current directory' in most every file system.
0
 
LVL 1

Expert Comment

by:rakkas
ID: 1115520
Ok, but Photoshop can save in gif after conversion of the image to a proper internal graphic format, so I guess that It's the ole-thing that disables this 'option' then?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cut image with speical pixels with Photoshop 5 61
Calling ADOBE Sign SOAP API 3 67
Url for adobe cloud 13 152
PDF: Display my cards game? 8 137
HOW TO CREATE A WEB 2.0 IMAGE WITH A REFLECTION I would like to start by saying I know Web 2.0 isn't a style. It is actually the practice of information sharing or  collaboration on the Web. It is also associated with the technology that is used …
Introduction When sharing photos, especially via e-mail, the large resolution images that most cameras take today make for extremely large file sizes. The time required to upload these files to forums, send in e-mails, post to blogs or even placi…
In this tutorial viewers will learn a few layer organization tricks and tips to improve their workflow in Photoshop. Open a multi-layer document in Photoshop: View all your layers by going Window > Layers:  To make sure your layers can be identified…
Make a selection using the pen tool to trace the selection. Then alter the color of the selection by using the color balance option in Adobe Photoshop.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question