mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-19 22:03:40 +08:00
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:
committed by
dpasukhi
parent
1eb67b25d3
commit
4ed2444ad2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user