Visualization, Image_AlienPixMap - do not write comment into binary PPM image

This comment is not skipped by some Linux image readers (including GIMP)
and display image corrupted (shifted colors, etc.).
This commit is contained in:
Kirill Gavrilov
2025-07-16 11:29:12 +01:00
committed by dpasukhi
parent 1eb67b25d3
commit 4ed2444ad2

View File

@@ -1033,7 +1033,6 @@ bool Image_AlienPixMap::savePPM(const TCollection_AsciiString& theFileName) cons
// Write header
fprintf(aFile, "P6\n%d %d\n255\n", (int)SizeX(), (int)SizeY());
fprintf(aFile, "# Image stored by OpenCASCADE framework in linear RGB colorspace\n");
// Write pixel data
Standard_Byte aByte;