registering new file type
This commit is contained in:
parent
56f5979168
commit
bc6eed0b03
16
include/exiv2/bigtiffimage.hpp
Normal file
16
include/exiv2/bigtiffimage.hpp
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
#include "basicio.hpp"
|
||||
#include "image.hpp"
|
||||
|
||||
namespace Exiv2
|
||||
{
|
||||
|
||||
namespace ImageType
|
||||
{
|
||||
const int bigtiff = 22;
|
||||
}
|
||||
|
||||
Image::AutoPtr newBigTiffInstance(BasicIo::AutoPtr, bool);
|
||||
bool isBigTiffType(BasicIo &, bool);
|
||||
|
||||
}
|
||||
@ -84,6 +84,7 @@ set( LIBEXIV2_HDR ../include/exiv2/asfvideo.hpp
|
||||
# Add library C++ source files to this list
|
||||
set( LIBEXIV2_SRC asfvideo.cpp
|
||||
basicio.cpp
|
||||
bigtiffimage.cpp
|
||||
bmpimage.cpp
|
||||
canonmn.cpp
|
||||
casiomn.cpp
|
||||
|
||||
19
src/bigtiffimage.cpp
Normal file
19
src/bigtiffimage.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
#include "bigtiffimage.hpp"
|
||||
|
||||
|
||||
|
||||
namespace Exiv2
|
||||
{
|
||||
|
||||
Image::AutoPtr newBigTiffInstance(BasicIo::AutoPtr, bool)
|
||||
{
|
||||
return Image::AutoPtr();
|
||||
}
|
||||
|
||||
bool isBigTiffType(BasicIo &, bool)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
@ -47,6 +47,7 @@ EXIV2_RCSID("@(#) $Id$")
|
||||
#include "tiffimage_int.hpp"
|
||||
#include "tiffcomposite_int.hpp"
|
||||
#include "tiffvisitor_int.hpp"
|
||||
#include "bigtiffimage.hpp"
|
||||
#include "webpimage.hpp"
|
||||
#include "orfimage.hpp"
|
||||
#include "gifimage.hpp"
|
||||
@ -112,6 +113,7 @@ namespace {
|
||||
{ ImageType::crw, newCrwInstance, isCrwType, amReadWrite, amNone, amNone, amReadWrite },
|
||||
{ ImageType::mrw, newMrwInstance, isMrwType, amRead, amRead, amRead, amNone },
|
||||
{ ImageType::tiff, newTiffInstance, isTiffType, amReadWrite, amReadWrite, amReadWrite, amNone },
|
||||
{ ImageType::bigtiff, newBigTiffInstance, isBigTiffType, amRead, amRead, amRead, amNone },
|
||||
{ ImageType::webp, newWebPInstance, isWebPType, amReadWrite, amNone, amReadWrite, amNone },
|
||||
{ ImageType::dng, newTiffInstance, isTiffType, amReadWrite, amReadWrite, amReadWrite, amNone },
|
||||
{ ImageType::nef, newTiffInstance, isTiffType, amReadWrite, amReadWrite, amReadWrite, amNone },
|
||||
|
||||
Loading…
Reference in New Issue
Block a user