load_jxl.h (580B)
1 // Copyright (c) the JPEG XL Project Authors. All rights reserved. 2 // 3 // Use of this source code is governed by a BSD-style 4 // license that can be found in the LICENSE file. 5 6 #ifndef TOOLS_VIEWER_LOAD_JXL_H_ 7 #define TOOLS_VIEWER_LOAD_JXL_H_ 8 9 #include <QByteArray> 10 #include <QImage> 11 #include <QString> 12 13 namespace jpegxl { 14 namespace tools { 15 16 QImage loadJxlImage(const QString& filename, const QByteArray& targetIccProfile, 17 qint64* elapsed, bool* usedRequestedProfile = nullptr); 18 19 } // namespace tools 20 } // namespace jpegxl 21 22 #endif // TOOLS_VIEWER_LOAD_JXL_H_