Lines 119-125
Link Here
|
119 |
BYTE* mpCurrentScan; |
119 |
BYTE* mpCurrentScan; |
120 |
ULONG mnDeflateInSize; |
120 |
ULONG mnDeflateInSize; |
121 |
|
121 |
|
122 |
ULONG mnWidth, mnHeight; |
122 |
sal_uInt32 mnWidth, mnHeight; |
123 |
BYTE mnBitsPerPixel; |
123 |
BYTE mnBitsPerPixel; |
124 |
BYTE mnFilterType; // 0 oder 4; |
124 |
BYTE mnFilterType; // 0 oder 4; |
125 |
ULONG mnBBP; // bytes per pixel ( needed for filtering ) |
125 |
ULONG mnBBP; // bytes per pixel ( needed for filtering ) |
Lines 138-144
Link Here
|
138 |
void ImplWritePalette(); |
138 |
void ImplWritePalette(); |
139 |
void ImplOpenChunk( ULONG nChunkType ); |
139 |
void ImplOpenChunk( ULONG nChunkType ); |
140 |
void ImplWriteChunk( BYTE nNumb ); |
140 |
void ImplWriteChunk( BYTE nNumb ); |
141 |
void ImplWriteChunk( ULONG nNumb ); |
141 |
void ImplWriteChunk( sal_uInt32 nNumb ); |
142 |
void ImplWriteChunk( unsigned char* pSource, long nDatSize ); |
142 |
void ImplWriteChunk( unsigned char* pSource, long nDatSize ); |
143 |
void ImplCloseChunk( void ); |
143 |
void ImplCloseChunk( void ); |
144 |
|
144 |
|
Lines 346-353
Link Here
|
346 |
*mpOStm << (ULONG)0x0d0a1a0a; |
346 |
*mpOStm << (ULONG)0x0d0a1a0a; |
347 |
|
347 |
|
348 |
ImplOpenChunk(PNGCHUNK_IHDR); |
348 |
ImplOpenChunk(PNGCHUNK_IHDR); |
349 |
ImplWriteChunk( ( mnWidth = (ULONG)mpAccess->Width() ) ); |
349 |
ImplWriteChunk( ( mnWidth = (sal_uInt32)mpAccess->Width() ) ); |
350 |
ImplWriteChunk( ( mnHeight = (ULONG)mpAccess->Height() ) ); |
350 |
ImplWriteChunk( ( mnHeight = (sal_uInt32)mpAccess->Height() ) ); |
351 |
|
351 |
|
352 |
if ( mnWidth && mnHeight && mnBitsPerPixel && mbStatus ) |
352 |
if ( mnWidth && mnHeight && mnBitsPerPixel && mbStatus ) |
353 |
{ |
353 |
{ |
Lines 719-725
Link Here
|
719 |
*mpOStm << nSource; |
719 |
*mpOStm << nSource; |
720 |
} |
720 |
} |
721 |
|
721 |
|
722 |
void PNGWriter::ImplWriteChunk ( ULONG nSource ) |
722 |
void PNGWriter::ImplWriteChunk ( sal_uInt32 nSource ) |
723 |
{ |
723 |
{ |
724 |
mnChunkDatSize+=4; |
724 |
mnChunkDatSize+=4; |
725 |
*mpOStm << nSource; |
725 |
*mpOStm << nSource; |