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
11-Feb-2004
Document
52489
Known Issue: An assertion has failed in my saveOptimized command
Summary
An assert failure during a saveOptimized command is most likely due to the loaded image being in the CMYK color space. The image could also be corrupt.
Issue
My saveOptimized command is failing in Adobe Server with the following error messages:
[INFO] Executing: <saveOptimized name="nologo" appendExtension="true" />
[ERROR] Could not complete this operation because an assertion has failed.
[CRITICAL] Could not handle the request because the command 'saveOptimized' failed to execute properly
Applies to
Adobe Graphics Server
Adobe Document Server
Solutions
1. Make sure the image is in the RGB color space.
The saveOptimized command only works on images in the RGB color space. Check the image you loaded in Photoshop or Illustrator to see if it's RGB or CMYK. If it's CMYK, convert it in Photoshop or Illustrator or use the convertProfile command to convert it to RGB before using the saveOptimized command.
Note: The saveOptimized command is used to prepare graphics for the Web which have to be in the RGB color space. The saveContent command can be used to save graphics in PSD or TIFF formats which can be either RGB or CMYK.
2. Make sure the image isn't corrupt.
Another possible cause is a corrupt image--such as the file having been truncated, etc. Try to open the file in Adobe Photoshop and/or Adobe Illustrator. If these applications have a problem opening the file, so will Adobe Server.
3. Make sure the image is in a format supported by Adobe Sever.
See the "File and Content Formats" table on the first page of Chapter 1 of the Commands Reference.
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