@@ -229,6 +229,7 @@ class EXIV2API ExifThumbC {
229229 data buffer and %DataBuf ensures that it will be deleted.
230230 */
231231 [[nodiscard]] DataBuf copy () const ;
232+ #ifdef EXV_ENABLE_FILESYSTEM
232233 /* !
233234 @brief Write the thumbnail image to a file.
234235
@@ -240,6 +241,7 @@ class EXIV2API ExifThumbC {
240241 @return The number of bytes written.
241242 */
242243 [[nodiscard]] size_t writeFile (const std::string& path) const ;
244+ #endif
243245 /* !
244246 @brief Return the MIME type of the thumbnail, either \c "image/tiff"
245247 or \c "image/jpeg".
@@ -279,6 +281,7 @@ class EXIV2API ExifThumb : public ExifThumbC {
279281
280282 // ! @name Manipulators
281283 // @{
284+ #ifdef EXV_ENABLE_FILESYSTEM
282285 /* !
283286 @brief Set the Exif thumbnail to the JPEG image \em path. Set
284287 XResolution, YResolution and ResolutionUnit to \em xres,
@@ -297,6 +300,7 @@ class EXIV2API ExifThumb : public ExifThumbC {
297300 application that comes with OS X for one.) - David Harvey.
298301 */
299302 void setJpegThumbnail (const std::string& path, URational xres, URational yres, uint16_t unit);
303+ #endif
300304 /* !
301305 @brief Set the Exif thumbnail to the JPEG image pointed to by \em buf,
302306 and size \em size. Set XResolution, YResolution and
@@ -315,6 +319,7 @@ class EXIV2API ExifThumb : public ExifThumbC {
315319 application that comes with OS X for one.) - David Harvey.
316320 */
317321 void setJpegThumbnail (const byte* buf, size_t size, URational xres, URational yres, uint16_t unit);
322+ #ifdef EXV_ENABLE_FILESYSTEM
318323 /* !
319324 @brief Set the Exif thumbnail to the JPEG image \em path.
320325
@@ -329,6 +334,7 @@ class EXIV2API ExifThumb : public ExifThumbC {
329334 @note Additional existing Exif thumbnail tags are not modified.
330335 */
331336 void setJpegThumbnail (const std::string& path);
337+ #endif
332338 /* !
333339 @brief Set the Exif thumbnail to the JPEG image pointed to by \em buf,
334340 and size \em size.
0 commit comments