| 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 LIB_EXTRAS_ENC_JPG_H_ |
| 7 | #define LIB_EXTRAS_ENC_JPG_H_ |
| 8 | |
| 9 | // Encodes JPG pixels and metadata in memory. |
| 10 | |
| 11 | #include <memory> |
| 12 | |
| 13 | #include "lib/extras/enc/encode.h" |
| 14 | |
| 15 | namespace jxl { |
| 16 | namespace extras { |
| 17 | |
| 18 | std::unique_ptr<Encoder> GetJPEGEncoder(); |
| 19 | |
| 20 | } // namespace extras |
| 21 | } // namespace jxl |
| 22 | |
| 23 | #endif // LIB_EXTRAS_ENC_JPG_H_ |