Skip to content

pylon/PylonImageBase.h#

Contains the pylon image base class.

Namespaces#

Name
Pylon
Contains definitions of pylon types.

Classes#

Name
class Pylon::CPylonImageBase
Provides basic functionality for pylon image classes.

Source code#

//------------------------------------------------------------------------------
//  Basler pylon SDK
//  Copyright (c) 2010-2022 Basler AG
//  http://www.baslerweb.com
//  Author:  Andreas Gau
//------------------------------------------------------------------------------
#ifndef INCLUDED_PYLONIMAGEBASE_H_6835095
#define INCLUDED_PYLONIMAGEBASE_H_6835095

#include <pylon/Platform.h>

#ifdef _MSC_VER
#   pragma pack(push, PYLON_PACKING)
#endif /* _MSC_VER */

#include <pylon/stdinclude.h>
#include <pylon/PylonUtility.h>
#include <pylon/ReusableImage.h>
#include <pylon/ImagePersistence.h>
#include <pylon/PixelData.h>

namespace Pylon
{
    class PYLONUTILITY_API CPylonImageBase : public IReusableImage
    {
    public:

        virtual void Save( EImageFileFormat imageFileFormat, const String_t& filename, CImagePersistenceOptions* pOptions = NULL ) const;


        virtual void Load( const String_t& filename );


        virtual bool CanSaveWithoutConversion( EImageFileFormat imageFileFormat ) const;

        virtual SPixelData GetPixelData( uint32_t posX, uint32_t posY ) const;

    };

}

#ifdef _MSC_VER
#   pragma pack(pop)
#endif /* _MSC_VER */

#endif /* INCLUDED_PYLONIMAGEBASE_H_6835095 */

Updated on 5 July 2022 at 15:30:01