exif-ifd.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* exif-ifd.h
  2. *
  3. * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net>
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this library; if not, write to the
  17. * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  18. * Boston, MA 02110-1301 USA.
  19. */
  20. #ifndef __EXIF_IFD_H__
  21. #define __EXIF_IFD_H__
  22. /*! Possible EXIF Image File Directories */
  23. typedef enum {
  24. EXIF_IFD_0 = 0, /*!< */
  25. EXIF_IFD_1, /*!< */
  26. EXIF_IFD_EXIF, /*!< */
  27. EXIF_IFD_GPS, /*!< */
  28. EXIF_IFD_INTEROPERABILITY, /*!< */
  29. EXIF_IFD_COUNT /*!< Not a real value, just (max_value + 1). */
  30. } ExifIfd;
  31. /*! Return a textual name of the given IFD. The name is a short, unique,
  32. * non-localized text string containing only US-ASCII alphanumeric
  33. * characters.
  34. *
  35. * \param[in] ifd IFD
  36. * \return textual name of the IFD
  37. */
  38. const char *exif_ifd_get_name (ExifIfd ifd);
  39. #endif /* __EXIF_IFD_H__ */