KNOWLEDGEBASE - ARTICLE #1692

Bug: Some png files imported into Prism 5 Mac are distorted on later viewing.

Prism Windows cannot import png files. Prism Mac can. This works great with most png files. But Prism doesn not handle some png files very well. Everything looks fine when the file is imported, but when the file is later opened, the image looks bad. Text can be gone. Colors can change.

This is a problem with Prism Mac 5.0c and 5.0d. The issue is with PNG files that contains transparent colors. When PNG is imported into Prism, OSX (at least Snow Leopard) removes the transparency channel within the PNG file while converting it (using system API) to the bitmap file format.  

 The only workarounds are either to use a different program to create the png file, or to convert the files to some other format (tiff works well) and import that into Prism.

The problem is a bug within OSX (at least Snow Leopard; we haven't tested other versions) and not within Prism. When we open a problematic PNG file with Preview, .save it as BMP with alpha checkbox checked, the resulting image is corrupted with changed colors or black rectangles instead of text. 

The workaround is simple: Create the graphic, or convert it, to a different format such as PDF or TIFF. Or avoid use of transparency when saving an image as a PNG file. 

Explore the Knowledgebase

Analyze, graph and present your scientific work easily with GraphPad Prism. No coding required.