Public Member Functions

Lanczos Class Reference

Applies Lanczos rescaling to the image. More...

#include <lanczos.h>

Inheritance diagram for Lanczos:
Inheritance graph
[legend]
Collaboration diagram for Lanczos:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Lanczos ()
 ~Lanczos ()
QuillImage apply (const QuillImage &image) const
bool setOption (const QString &option, const QVariant &value)
QVariant option (const QString &option) const
const QStringList supportedOptions () const
virtual const QString name () const

Detailed Description

Applies Lanczos rescaling to the image.

This version will only work with upscaling. It is intended to be used with small-size images only, as it is not well optimized and does not behave correctly with tiling.

Supports options: SizeAfter (target size), Radius (Lanczos kernel size, valid values are 2 and 3.)

Default behavior: no operation. If only SizeAfter is defined, Radius defaults to 3.


Constructor & Destructor Documentation

Lanczos::Lanczos (  ) 
Lanczos::~Lanczos (  ) 

Member Function Documentation

QuillImage Lanczos::apply ( const QuillImage image  )  const [virtual]

Applies the filter to a given preview or fragment.

Reimplemented from QuillImageFilterImplementation.

virtual const QString Lanczos::name (  )  const [inline, virtual]

Reimplemented from QuillImageFilterImplementation.

QVariant Lanczos::option ( const QString &  filterOption  )  const [virtual]

Returns the value of a filter option. These options are the recommended way to pass information to the filters. This function needs to be reimplemented in a derived class to support options.

Reimplemented from QuillImageFilterImplementation.

bool Lanczos::setOption ( const QString &  filterOption,
const QVariant &  value 
) [virtual]

Sets the value of a filter option. These options are the recommended way to pass information to the filters. This function needs to be reimplemented in a derived class to support options.

Reimplemented from QuillImageFilterImplementation.

const QStringList Lanczos::supportedOptions (  )  const [virtual]

Reimplemented from QuillImageFilterImplementation.


The documentation for this class was generated from the following files: