Core lib building
This commit is contained in:
parent
3ed195d7dd
commit
94fcc42aed
73 changed files with 625 additions and 661 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "PngHeader.h"
|
||||
|
||||
#include "ByteUtils.h"
|
||||
#include "Bits.h"
|
||||
#include "StringUtils.h"
|
||||
#include "CyclicRedundancyChecker.h"
|
||||
|
||||
|
@ -74,12 +74,12 @@ void PngHeader::updateData()
|
|||
|
||||
for(size_t idx=0; idx<num_bytes;idx++)
|
||||
{
|
||||
mData.push_back(ByteUtils::getByteN(mWidth, idx));
|
||||
mData.push_back(Bits::getByteN(mWidth, idx));
|
||||
}
|
||||
|
||||
for(unsigned idx=0; idx<num_bytes;idx++)
|
||||
{
|
||||
mData.push_back(ByteUtils::getByteN(mHeight, idx));
|
||||
mData.push_back(Bits::getByteN(mHeight, idx));
|
||||
}
|
||||
mData.push_back(mBitDepth);
|
||||
mData.push_back(static_cast<Byte>(mPngInfo.mColorType));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue