mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 23:05:38 +00:00
Restore LIBPNG for png files
Restores the use of libpng for png files as stb does not support writing out 16bit png files.
This commit is contained in:
parent
e9296bc882
commit
7f351ef429
489 changed files with 170208 additions and 108 deletions
|
|
@ -64,23 +64,4 @@ namespace ImageUtil
|
|||
U32 getMaxMipCount(const U32 width, const U32 height);
|
||||
};
|
||||
|
||||
struct DeferredPNGWriterData;
|
||||
class Stream;
|
||||
class GBitmap;
|
||||
|
||||
class DeferredPNGWriter
|
||||
{
|
||||
protected:
|
||||
DeferredPNGWriterData* mData;
|
||||
bool mActive;
|
||||
|
||||
public:
|
||||
DeferredPNGWriter();
|
||||
~DeferredPNGWriter();
|
||||
|
||||
bool begin(GFXFormat format, S32 width, S32 height, Stream& stream);
|
||||
void append(GBitmap* bitmap, U32 rows);
|
||||
void end();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue