DiscussionsIssue archiveOCCT:Visualization

Archived issue #0030182

Visualization, Image_AlienPixMap - support reading encoded image from memory buffer

Open CASCADEOCCT:Visualizationclosed12 public notes

Search issues

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).

Public activity

12 archived notes

Participants are labeled by their role within this record.

01Commenter 4
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
02Commenter 4
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Author
04Commenter 4
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
05Commenter 4
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
06Commenter 4
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
07Commenter 4
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
08Commenter 4
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
09Commenter 9
No remarks, please integrate
10Commenter 1
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
11Commenter 4
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

12Commenter 4
Branch [archived branch] has been deleted by Author.

[revision removed]

Related records