1 /* 2 SPDX-FileCopyrightText: 2009 Canonical 3 SPDX-FileContributor: Aurélien Gâteau <aurelien.gateau@canonical.com> 4 5 SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only 6 */ 7 8 #ifndef IMAGECONVERTER_H 9 #define IMAGECONVERTER_H 10 11 class QVariant; 12 class QImage; 13 14 namespace ImageConverter 15 { 16 /** 17 * Returns a variant representing an image using the format describe in the 18 * freedesktop.org spec 19 */ 20 QVariant variantForImage(const QImage &image); 21 22 } // namespace 23 24 #endif /* IMAGECONVERTER_H */ 25