![]() |
Oyranos Color Management System API |
#include <oyranos_object.h>
#include "oyStruct_s.h"
#include "oyranos_image.h"
#include "oyProfile_s.h"
#include "oyRectangle_s.h"
#include "oyArray2d_s.h"
Data Structures | |
struct | oyImage_s |
A reference struct to gather information for image transformation. More... | |
Typedefs | |
typedef oyPointer(* | oyImage_GetLine_f) (oyImage_s *image, int line_y, int *height, int channel, int *is_allocated) |
typedef oyPointer *(* | oyImage_GetTile_f) (oyImage_s *image, int tile_x, int tile_y, int channel, int *is_allocated) |
Functions | |
int | oyImage_FromFile (const char *file_name, oyImage_s **image, oyObject_s object) |
generate a Oyranos image from a file name More... | |
int | oyImage_ToFile (oyImage_s *image, const char *file_name, oyOptions_s *opts) |
write a Oyranos image to a file name More... | |
[Template file inheritance graph] +-> oyImage_s.template.h | +-> Base_s.h | +– oyStruct_s.template.h
Oyranos is an open source Color Management System
typedef oyPointer(* oyImage_GetLine_f) (oyImage_s *image, int line_y, int *height, int channel, int *is_allocated) |
param[out] is_allocated are the lines always newly allocated?
typedef oyPointer*(* oyImage_GetTile_f) (oyImage_s *image, int tile_x, int tile_y, int channel, int *is_allocated) |
param[out] is_allocated are the tiles always newly allocated?
int oyImage_FromFile | ( | const char * | file_name, |
oyImage_s ** | image, | ||
oyObject_s | obj | ||
) |
generate a Oyranos image from a file name
Function oyImage_FromFile
[in] | file_name | input |
[out] | image | output |
[in] | obj | Oyranos object (optional) |
References OY_SELECT_FILTER, OY_TYPE_STD, oyConversion_s::oyConversion_GetImage(), oyConversion_s::oyConversion_New(), oyConversion_s::oyConversion_Release(), oyConversion_s::oyConversion_Set(), oyFilterNode_s::oyFilterNode_Connect(), oyFilterNode_s::oyFilterNode_GetOptions(), oyFilterNode_s::oyFilterNode_NewWith(), oyImage_s::oyImage_GetTags(), oyImage_s::oyImage_Release(), oyOptions_s::oyOptions_Release(), and oyOptions_s::oyOptions_SetFromText().
int oyImage_ToFile | ( | oyImage_s * | image, |
const char * | file_name, | ||
oyOptions_s * | opts | ||
) |
write a Oyranos image to a file name
Function oyImage_ToFile
[in] | image | input |
[in] | file_name | output |
[in] | opts | options for file_write node |
References OY_SELECT_FILTER, OY_TYPE_STD, oyBOOLEAN_UNION, oyConversion_s::oyConversion_New(), oyConversion_s::oyConversion_Release(), oyConversion_s::oyConversion_RunPixels(), oyConversion_s::oyConversion_Set(), oyFilterNode_s::oyFilterNode_Connect(), oyFilterNode_s::oyFilterNode_GetOptions(), oyFilterNode_s::oyFilterNode_NewWith(), oyFilterNode_s::oyFilterNode_Release(), oyFilterNode_s::oyFilterNode_SetData(), oyImage_s::oyImage_GetTags(), oyOptions_s::oyOptions_CopyFrom(), oyOptions_s::oyOptions_Release(), and oyOptions_s::oyOptions_SetFromText().