MantisBT - Open CASCADE
View Issue Details
0031956Open CASCADE[OCCT] OCCT:Visualizationpublic2020-11-24 10:042021-09-17 17:57
kgv 
kgv 
normalfeature 
resolvedopen 
[OCCT] 7.4.0 
[OCCT] 7.6.0* 
0031956: Visualization - provide Image_AlienPixMap::Save() writing into a memory buffer instead of a file
Image_AlienPixMap::Load() provides overloads reading image from file path, memory buffer and std::istream. In contrast, Image_AlienPixMap::Save() is currently able to write only into the given file path, which restricts class usability.
v3d bugs bug31956
No tags attached.
related to 0030549resolved abv Coding - split Image_AlienPixMap into several classes 
child of 0030182closed apn Visualization, Image_AlienPixMap - support reading encoded image from memory buffer 
Issue History
2020-11-24 10:04kgvNew Issue
2020-11-24 10:04kgvAssigned To => kgv
2020-11-24 10:06kgvRelationship addedrelated to 0030182
2020-11-24 10:06kgvRelationship replacedchild of 0030182
2020-11-24 10:06kgvProduct Version => 7.4.0
2020-11-24 10:06kgvRelationship addedrelated to 0030549
2021-08-11 11:31ageAssigned Tokgv => CheskoArt
2021-08-11 11:53CheskoArtStatusnew => assigned
2021-09-14 14:12gitNote Added: 0104074
2021-09-15 21:34gitNote Added: 0104104
2021-09-15 22:04gitNote Added: 0104105
2021-09-16 19:07CheskoArtNote Added: 0104131
2021-09-16 19:07CheskoArtAssigned ToCheskoArt => kgv
2021-09-16 19:07CheskoArtStatusassigned => resolved
2021-09-16 19:07CheskoArtSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25746#r25746
2021-09-16 19:23kgvNote Added: 0104132
2021-09-16 21:05gitNote Added: 0104134
2021-09-17 17:57CheskoArtNote Added: 0104169

Notes
(0104074)
git   
2021-09-14 14:12   
Branch CR31956 has been created by CheskoArt.

SHA-1: fbf48c08439946f24061d1b7d2f6b0bb78ed656a


Detailed log of new commits:

Author: achesnok
Date: Mon Sep 6 14:36:40 2021 +0300

    0031956: Visualization - provide Image_AlienPixMap::Save() writing into a memory buffer instead of a file
    
    Added two new Image_AlienPixMap::Save() overloads, taking std::ostream or memory buffer arguments.
(0104104)
git   
2021-09-15 21:34   
Branch CR31956 has been updated forcibly by CheskoArt.

SHA-1: 58887fde1aeca0408c1dc7f872b53386626370a0
(0104105)
git   
2021-09-15 22:04   
Branch CR31956 has been updated forcibly by CheskoArt.

SHA-1: c5594d863afbdf330ae4dae912be6ca5133d74b2
(0104131)
CheskoArt   
2021-09-16 19:07   
Please review the patch.
Test results: http://jenkins-test-occt.nnov.opencascade.com/view/CR31956-master-achesnok/view/ALL/ [^]
(0104132)
kgv   
2021-09-16 19:23   
+#ifdef HAVE_FREEIMAGE
+  Standard_EXPORT FIBITMAP* GetImageToDump (int theFormat);
   FIBITMAP* myLibImage;

This breaks binary compatibility and should be reverted.
HAVE_FREEIMAGE should not occur in .hxx header.
(0104134)
git   
2021-09-16 21:05   
Branch CR31956 has been updated forcibly by CheskoArt.

SHA-1: 5303e6b270b86fbcd8a769b5fab4fa2e653c0604
(0104169)
CheskoArt   
2021-09-17 17:57   
fixed