Developer Knowledgebase
Knowledgebase Home
Graphics Server KB
Overview
Software Development Kits
Developer Knowledgebase
Support
Legal Notices
Feedback
Adobe Solution Partner Program
Join
Find a Solution Partner
Product
Graphics Server
Version
2.0
Last Edited
17-Oct-2003
Document
53498
How To: Converting a JPEG to a GIFF
Summary
To change a JPEG to a GIF, you need to use:
<set
target="/psd/optimizationSettings" >
... </set>
Issue
How can I convert JPG files to GIF format?
Applies to
Adobe Graphics Server
Adobe Document Server
Solution
To change from a JPEG to a GIF you need to change the optimizationSettings using the set command. (All the attributes to GIFFormat are listed below--they are all optional.)
<set target="/psd/optimizationSettings">
<optimizationSettings>
<GIFFormat
numColors="256"
lossiness="0"
matteColor="#FFFFFF"
ditherAlgorithm="diffusion"
ditherPercent="0"
webShiftPercent="0"
reductionAlgorithm="selective"
transparency="false"
interlaced="false"
autoReduce="false"
rolloverMasterPalette="false" />
</optimizationSettings>
</set>
Was this Knowledgebase document helpful?
Yes
No
The articles in this knowledgebase are intended for use by software programmers currently using an Adobe SDK to extend or customize an Adobe product. These articles may be highly technical in nature.
If you have questions about an Adobe Product that are not related to development or an SDK product please visit:
http://adobe.com/support/main.html
Copyright © Adobe Systems Incorporated. All rights reserved.
Terms of Use
Online Privacy Policy