Top Navigational Bar

Graphics - .CGM File Not Converting Colors Co
DocumentID: 601566
Revision Date: 29-Feb-96 1:28:44 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: WP is not converting the correct colors from a .CGM file created in Harvard Graphics. The file is a bar chart with a bright green background and red bars with the top half of the last one being purple. When it is brought into WP, the background is white, the bars are gray-shaded, and the part that should be purple comes out green with a black top. Also, two of the bars have green tops that should not be there. The customer tried using GRAPHCNV.EXE to convert it without any startup options and tried converting with the /C=256 and /C=16 startup options. Each type of conversion came out with different results (none of them correct). Solutions: The problem is that the color index is 0-1000 (0=Black) and the highest value in the Red-Green-Blue (RGB) table is 115. WP would normally show a black picture in the 08/20/90 release. In the next interim release, WP will convert the 1000 value to a 255 color index. Now it displays in shades of gray. Also, the latest version of Harvard Graphics 2.11 corrected this problem as well. The customer can call Harvard and ask for the upgrade or they may obtain the next interim release of WP.

NOTE: The process of importing .CGM graphic files was changed with the 06/29/90 release so as to create a custom color palette for the file. The custom palette is created using the information provided in the CGM file. Prior to the 06/29/90 release, the colors in .CGM files were mapped to WordPerfect colors. If the user does not like the color selections that are made with WP dated 06/29/90 or later, they can take the file through the graphic convert program (GRAPHCNV) using the startup option /C=256. This switch will change the .CGM file into a .WPG file using WP's color mapping. This result will give the same colors the user would have received if using a release prior to 06/29/90.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.