MantisBT - Open CASCADE
View Issue Details
0030182Open CASCADE[OCCT] OCCT:Visualizationpublic2018-10-01 07:542020-11-24 10:06
kgv 
apn 
normalfeature 
closedfixed 
 
[OCCT] 7.4.0[OCCT] 7.4.0 
bugs vis bug30182
0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory buffer
Currently Image_AlienPixMap doesn't provide an interface for reading encoded image from memory buffer - only file name can be given.
At the same time, underlying library (FreeImage) provides such feature.

It is desired extending interface to support this feature.
The most tricky thing would be defining an image format argument - it is undesirable using an enumeration; passing MIME type is desirable, although detecting format from magic header could be even better for formats providing such information (I suppose FreeImage already should support detection in this way).
No tags attached.
related to 0028124new kgv Open CASCADE Visualization - availability of standard textures 
related to 0026299closed bugmaster Open CASCADE Visualization, Font - extend interface for loading resources 
parent of 0031956new kgv Open CASCADE Visualization - provide Image_AlienPixMap::Save() writing into a memory buffer instead of a file 
related to 0030549resolved abv Open CASCADE Coding - split Image_AlienPixMap into several classes 
Not all the children of this issue are yet resolved or closed.
Issue History
2018-10-01 07:54kgvNew Issue
2018-10-01 07:54kgvAssigned To => mnv
2018-10-01 07:55kgvDescription Updatedbug_revision_view_page.php?rev_id=20012#r20012
2018-10-01 07:57kgvRelationship addedrelated to 0030181
2018-10-01 07:57kgvStatusnew => assigned
2018-10-01 07:58kgvRelationship addedrelated to 0028124
2018-10-01 08:00kgvRelationship addedrelated to 0026299
2019-03-01 02:58gitNote Added: 0082476
2019-03-01 03:00gitNote Added: 0082477
2019-03-01 03:34kgvNote Added: 0082478
2019-03-01 03:34kgvAssigned Tomnv => san
2019-03-01 03:34kgvStatusassigned => resolved
2019-03-01 07:49kgvNote Edited: 0082478bug_revision_view_page.php?bugnote_id=82478#r20758
2019-03-01 10:53gitNote Added: 0082481
2019-03-01 11:14gitNote Added: 0082482
2019-03-01 11:38gitNote Added: 0082484
2019-03-01 11:56gitNote Added: 0082487
2019-03-01 11:58gitNote Added: 0082488
2019-03-01 12:11kgvAssigned Tosan => abv
2019-03-01 12:53abvNote Added: 0082495
2019-03-01 12:53abvAssigned Toabv => bugmaster
2019-03-01 12:53abvStatusresolved => reviewed
2019-03-01 14:01apnTest case number => bugs vis bug30182
2019-03-01 14:01apnNote Added: 0082502
2019-03-01 14:01apnStatusreviewed => tested
2019-03-03 20:49gitNote Added: 0082561
2019-03-03 21:12apnChangeset attached => occt master 88b12b7c
2019-03-03 21:12apnAssigned Tobugmaster => apn
2019-03-03 21:12apnStatustested => verified
2019-03-03 21:12apnResolutionopen => fixed
2019-03-05 13:46gitNote Added: 0082622
2019-03-09 05:52kgvRelationship addedrelated to 0030549
2020-11-24 10:06kgvRelationship addedrelated to 0031956
2020-11-24 10:06kgvRelationship replacedparent of 0031956

Notes
(0082476)
git   
2019-03-01 02:58   
Branch CR30182 has been created by kgv.

SHA-1: 45244209456e906a35d33d7f0673b62a0e584f4c


Detailed log of new commits:

Author: kgv
Date: Fri Mar 1 01:26:20 2019 +0300

    0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory buffer
(0082477)
git   
2019-03-01 03:00   
Branch CR30182 has been updated forcibly by kgv.

SHA-1: ea3665c416acadc407019572e95c2d8f5922e904
(0082478)
kgv   
2019-03-01 03:34   
(edited on: 2019-03-01 07:49)
Patch is ready for review.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30182-master-KGV/ [^]

(0082481)
git   
2019-03-01 10:53   
Branch CR30182 has been updated forcibly by kgv.

SHA-1: 170795aae229391ceea2b84aaaad014048deb8d3
(0082482)
git   
2019-03-01 11:14   
Branch CR30182 has been updated forcibly by kgv.

SHA-1: 6be0f9d3a6c60c370f4a7132e6841a64694ddc66
(0082484)
git   
2019-03-01 11:38   
Branch CR30182 has been updated forcibly by kgv.

SHA-1: a03a8372ade51ac8712141e0b754b6af8f2b4d10
(0082487)
git   
2019-03-01 11:56   
Branch CR30182 has been updated forcibly by kgv.

SHA-1: b056db407b303c870be8d3c1f9cf092fbefe8cdf
(0082488)
git   
2019-03-01 11:58   
Branch CR30182 has been updated forcibly by kgv.

SHA-1: 779889eda00a79ad3e2000fcdc0e46c76f77a3b6
(0082495)
abv   
2019-03-01 12:53   
No remarks, please integrate
(0082502)
apn   
2019-03-01 14:01   
Combination -
OCCT branch : CR30182
master SHA - ea3665c416acadc407019572e95c2d8f5922e904
d67d4b811012eef8913d3c535c29654d0acf3c4c
Products branch : master SHA - b4f0b00c20dec5376d841941164e1fa4249d1d84
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 16543.780000000068 / 16542.02999999996 [+0.01%]
Products
Total CPU difference: 9068.080000000029 / 9061.510000000035 [+0.07%]
Windows-64-VC14:
OCCT
Total CPU difference: 17920.4375 / 17945.9375 [-0.14%]
Products
Total CPU difference: 10471.328125 / 10439.25 [+0.31%]

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0082561)
git   
2019-03-03 20:49   
Branch CR30182 has been updated by apn.

SHA-1: bf4c8cbc5f6a4acc531bc359d6ee9ab75fc26c31


Detailed log of new commits:

Author: kgv
Date: Sun Mar 3 14:24:04 2019 +0300

    # 0030182 - fix compiler warning on old (pre-C++11) compilers

(0082622)
git   
2019-03-05 13:46   
Branch CR30182 has been deleted by kgv.

SHA-1: bf4c8cbc5f6a4acc531bc359d6ee9ab75fc26c31