#include "common/darktable.h"
#include "common/imageio.h"
#include "common/imageio_module.h"
#include "imageio/format/imageio_format_api.h"
#include <glib/gstdio.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
|
| void | init (dt_imageio_module_format_t *self) |
| |
| void | cleanup (dt_imageio_module_format_t *self) |
| |
| int | write_image (dt_imageio_module_data_t *ppm, const char *filename, const void *in_tmp, dt_colorspaces_color_profile_type_t over_type, const char *over_filename, void *exif, int exif_len, int32_t imgid, int num, int total, struct dt_dev_pixelpipe_t *pipe, const gboolean export_masks) |
| |
| size_t | params_size (dt_imageio_module_format_t *self) |
| |
| void * | get_params (dt_imageio_module_format_t *self) |
| |
| void | free_params (dt_imageio_module_format_t *self, dt_imageio_module_data_t *params) |
| |
| int | set_params (dt_imageio_module_format_t *self, const void *params, const int size) |
| |
| int | bpp (dt_imageio_module_data_t *p) |
| |
| int | levels (dt_imageio_module_data_t *p) |
| |
| const char * | mime (dt_imageio_module_data_t *data) |
| |
| const char * | extension (dt_imageio_module_data_t *data) |
| |
| const char * | name () |
| |
| void | gui_init (dt_imageio_module_format_t *self) |
| |
| void | gui_cleanup (dt_imageio_module_format_t *self) |
| |
| void | gui_reset (dt_imageio_module_format_t *self) |
| |
◆ bpp()
Definition at line 98 of file ppm.c.
◆ cleanup()
Definition at line 43 of file ppm.c.
◆ extension()
◆ free_params()
◆ get_params()
Definition at line 81 of file ppm.c.
References d.
◆ gui_cleanup()
◆ gui_init()
- Todo:
- : some quality/compression stuff?
Definition at line 124 of file ppm.c.
◆ gui_reset()
◆ init()
Definition at line 40 of file ppm.c.
◆ levels()
◆ mime()
◆ name()
◆ params_size()
Definition at line 76 of file ppm.c.
◆ set_params()
◆ write_image()
| int write_image |
( |
dt_imageio_module_data_t * |
ppm, |
|
|
const char * |
filename, |
|
|
const void * |
in_tmp, |
|
|
dt_colorspaces_color_profile_type_t |
over_type, |
|
|
const char * |
over_filename, |
|
|
void * |
exif, |
|
|
int |
exif_len, |
|
|
int32_t |
imgid, |
|
|
int |
num, |
|
|
int |
total, |
|
|
struct dt_dev_pixelpipe_t * |
pipe, |
|
|
const gboolean |
export_masks |
|
) |
| |