OpenPIV / openpiv-c--qt

C++ with Qt frontend (superfast) version of OpenPIV
http://www.openpiv.net
GNU General Public License v3.0
22 stars 17 forks source link

What image types are supported #31

Closed ErichZimmer closed 2 years ago

ErichZimmer commented 2 years ago

I know RGB and grey scale images are supported, but what about the extension types of images (e.g. bmp, tiff, jpg, jpeg...)?

timdewhirst commented 2 years ago

At the moment we support PNM and TIFF; the idea was to avoid external library dependencies and leave image conversion to other existing libraries e.g. libpnm. There are some special image formats that I think it would make sense to support e.g. RAW and output from specialist cameras like PCO (.b16).

Adding new image format support is reasonably straightforward - a new subclass of image_loader should be created.

ErichZimmer commented 2 years ago

Okay, it all makes sense now.