src/lib/image.h
author Tero Marttila <terom@fixme.fi>
Tue, 26 Jan 2010 21:22:43 +0200
changeset 123 81d1cad8b588
parent 56 d5e3089906da
permissions -rw-r--r--
docfix README for new Makefile
#ifndef PNGTILE_IMAGE_H
#define PNGTILE_IMAGE_H

/**
 * @file
 *
 * Internal pt_image state
 */
#include "pngtile.h"

struct pt_image {
    /** Associated global state */
    struct pt_ctx *ctx;

    /** Path to .png */
    char *path;
    
    /** Cache object */
    struct pt_cache *cache;

    /** Image info */
    struct pt_image_info info;
};

/**
 * Open the image's FILE
 */
int pt_image_open_file (struct pt_image *image, FILE **file_ptr);

#endif