#ifndef IMAGE_INFO_H
#define IMAGE_INFO_H

#include "lib/lib.h"

G_BEGIN_DECLS

typedef struct {
	int width;
	int height;
} GthImageInfo;

gboolean load_image_info (GFile *file, int *width, int *height, GCancellable *cancellable);
gboolean load_image_info_from_bytes (GBytes *bytes, int *width, int *height, GCancellable *cancellable);
gboolean load_image_info_from_stream (GInputStream *stream, int *width, int *height, GCancellable *cancellable);

G_END_DECLS

#endif /* IMAGE_INFO_H */
