Archived issue #0030182
Visualization, Image_AlienPixMap - support reading encoded image from memory buffer
Description
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).
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).
Public activity
12 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Mar 1 01:26:20 2019 +0300
0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory buffer
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Mar 1 01:26:20 2019 +0300
0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory buffer
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Patch is ready for review.
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30182-master-KGV/
http://jenkins-test-12.nnov.opencascade.com:8080/view/CR30182-master-KGV/
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
No remarks, please integrate
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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
Branch [archived branch] has been updated by Commenter 1.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sun Mar 3 14:24:04 2019 +0300
# 0030182 - fix compiler warning on old (pre-C++11) compilers
[revision removed]
Detailed log of new commits:
Author: Author
Date: Sun Mar 3 14:24:04 2019 +0300
# 0030182 - fix compiler warning on old (pre-C++11) compilers
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]
Related records
- #0028124 · related to · newVisualization - availability of standard textures
- #0026299 · related to · closedVisualization, Font - extend interface for loading resources
- #0031956 · parent of · verifiedVisualization - provide Image_AlienPixMap::Save() writing into a memory buffer instead of a file
- #0030549 · related to · resolvedCoding - split Image_AlienPixMap into several classes