]> OCCT Git - occt-copy.git/commit
0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory...
authorkgv <kgv@opencascade.com>
Thu, 28 Feb 2019 22:26:20 +0000 (01:26 +0300)
committernds <nds@opencascade.com>
Tue, 11 Jun 2019 09:57:49 +0000 (12:57 +0300)
commit8866c0cdb815d9e48665f6337924190e822eb59f
tree29e83a2fcd7117cedfa65ee53cef9e1b48083649
parent353bc778851735f6c71d2d5e8659435f46ba062d
0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory buffer

Added two new Image_AlienPixMap::Load() methods, taking std::istream
and memory buffer (pointer, length) arguments.
This allows reading image from application memory or from file with non-zero offset.

Added Image_AlienPixMap::IsTopDownDefault() static property allowing to query rows order used by linked image library,
so that application might generate UV texture coordinates accordingly.

Added missing Release() to IWICImagingFactory instance.

(cherry picked from commit 88b12b7c054a5beff84f64a5eaf1904dc1fcc87a)
src/Image/Image_AlienPixMap.cxx
src/Image/Image_AlienPixMap.hxx
src/QABugs/QABugs_1.cxx
src/QABugs/QABugs_17.cxx
tests/bugs/vis/bug1188
tests/bugs/vis/bug25475
tests/bugs/vis/bug30182 [new file with mode: 0644]