MantisBT - Open CASCADE
View Issue Details
0031138Open CASCADE[OCCT] OCCT:Visualizationpublic2019-11-06 23:492019-11-10 11:41
kgv 
bugmaster 
normalminor 
verifiedfixed 
[OCCT] 6.5.4 
[OCCT] 7.5.0* 
Not required
0031138: Visualization - Image_AlienPixMap fails to load PNG image with palette
Attached PNG file is defined with palette, so that it has to be converted into RGB before usage.

Image_AlienPixMap does not handle this scenario correctly and returns failure.
pload MODELING VISUALIZATION
box b 1 2 3
vclear
vinit View1
vdisplay -dispMode 1 b
vfit
vtexture b CesiumMilkTruck.png
No tags attached.
related to 0030946closed abv Visualization - Image_AlienPixMap ignores 1-bit pixelformat when using FreeImage 
png CesiumMilkTruck.png (427,633) 2019-11-06 23:49
https://tracker.dev.opencascade.org/
Issue History
2019-11-06 23:49kgvNew Issue
2019-11-06 23:49kgvAssigned To => kgv
2019-11-06 23:49kgvFile Added: CesiumMilkTruck.png
2019-11-06 23:55gitNote Added: 0088758
2019-11-06 23:57kgvRelationship addedrelated to 0030946
2019-11-06 23:58kgvProduct Version7.0.0 => 6.5.4
2019-11-07 07:54kgvNote Added: 0088760
2019-11-07 07:54kgvAssigned Tokgv => osa
2019-11-07 07:54kgvStatusnew => resolved
2019-11-07 11:36gitNote Added: 0088771
2019-11-07 12:07osaNote Added: 0088772
2019-11-07 12:07osaAssigned Toosa => bugmaster
2019-11-07 12:07osaStatusresolved => reviewed
2019-11-08 14:30bugmasterTest case number => Not required
2019-11-08 14:30bugmasterNote Added: 0088800
2019-11-08 14:30bugmasterStatusreviewed => tested
2019-11-10 11:18bugmasterChangeset attached => occt master 08b438b0
2019-11-10 11:18bugmasterStatustested => verified
2019-11-10 11:18bugmasterResolutionopen => fixed
2019-11-10 11:41gitNote Added: 0088832

Notes
(0088758)
git   
2019-11-06 23:55   
Branch CR31138 has been created by kgv.

SHA-1: fcc761cfe6f8471e2f590e07fd2d4e8d218a888f


Detailed log of new commits:

Author: kgv
Date: Wed Nov 6 23:53:53 2019 +0300

    0031138: Visualization - Image_AlienPixMap fails to load PNG image with palette
    
    Added fallback code converting unsupported pixel format into RGB24 using FreeImage itself.
(0088760)
kgv   
2019-11-07 07:54   
Patch is ready for review.

http://jenkins-test-12.nnov.opencascade.com:8080/view/CR31138-master-KGV [^]
(0088771)
git   
2019-11-07 11:36   
Branch CR31138 has been updated by kgv.

SHA-1: d7c57d75ff8a2dad65da9146ad73aebffa30780c


Detailed log of new commits:

Author: kgv
Date: Thu Nov 7 11:34:44 2019 +0300

    # remarks

(0088772)
osa   
2019-11-07 12:07   
The patch was reviewed
(0088800)
bugmaster   
2019-11-08 14:30   
Combination -
OCCT branch : WEEK-45
master SHA - 08b438b07684090e1a9b77f5ac9d152d4bec10c6
5f5b1aed1c6e139bbd34314eca77ae7abcd8895c
Products branch : WEEK-45 SHA - f88bc93e3637c4c42f3c154c0b0e167d4e297ae6
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: 16835.010000000126 / 16848.430000000117 [-0.08%]
Products
Total CPU difference: 10830.110000000055 / 10873.690000000062 [-0.40%]
Windows-64-VC14:
OCCT
Total CPU difference: 18295.625 / 18319.515625 [-0.13%]
Products
Total CPU difference: 12840.953125 / 12848.859375 [-0.06%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0088832)
git   
2019-11-10 11:41   
Branch CR31138 has been deleted by inv.

SHA-1: d7c57d75ff8a2dad65da9146ad73aebffa30780c