Oyranos Color Management System API
Data Structures | Functions
oyConversion_s.h File Reference
#include <oyranos_object.h>
#include "oyStruct_s.h"
#include "oyranos_image.h"
#include "oyOptions_s.h"
#include "oyImage_s.h"
#include "oyProfile_s.h"
#include "oyFilterNode_s.h"
#include "oyPixelAccess_s.h"

Data Structures

struct  oyConversion_s
 A filter chain or graph to manipulate a image. More...
 

Functions

OYAPI oyConversion_s *OYEXPORT oyConversion_CreateFromImage (oyImage_s *image_in, const char *module, oyOptions_s *module_options, oyProfile_s *output_profile, oyDATATYPE_e buf_type_out, uint32_t flags, oyObject_s obj)
 generate a Oyranos graph from a image file name More...
 

Detailed Description

[Template file inheritance graph] +-> oyConversion_s.template.h | +-> Base_s.h | +– oyStruct_s.template.h

Oyranos is an open source Color Management System

Copyright:
2004-2014 (C) Kai-Uwe Behrmann
Author
Kai-Uwe Behrmann ku.b@.nosp@m.gmx..nosp@m.de
License:
new BSD - see: http://www.opensource.org/licenses/bsd-license.php
Date
2014/02/18

Function Documentation

OYAPI oyConversion_s* OYEXPORT oyConversion_CreateFromImage ( oyImage_s image_in,
const char *  module,
oyOptions_s module_options,
oyProfile_s output_profile,
oyDATATYPE_e  buf_type_out,
uint32_t  flags,
oyObject_s  obj 
)

generate a Oyranos graph from a image file name

Function oyConversion_CreateFromImage

Parameters
[in]image_ininput
[in]moduleto be used icc node type
[in]module_optionsoptions for icc node
[in]output_profileprofile to convert colors to;
[in]buf_type_outthe desired data type for output
[in]flagsfor inbuild defaults | oyOPTIONSOURCE_FILTER; for options marked as advanced | oyOPTIONATTRIBUTE_ADVANCED | OY_SELECT_FILTER | OY_SELECT_COMMON
[in]objOyranos object (optional)
Returns
generated new graph, owned by caller
Version
Oyranos: 0.9.5
Since
2012/04/21 (Oyranos: 0.5.0)
Date
2013/09/25

References OY_TYPE_STD, oyChannels_m, oyConversion_s::oyConversion_Correct(), oyConversion_s::oyConversion_New(), oyConversion_s::oyConversion_Set(), oyDataType_m, oyFilterNode_s::oyFilterNode_Connect(), oyFilterNode_s::oyFilterNode_NewWith(), oyFilterNode_s::oyFilterNode_SetData(), oyImage_s::oyImage_Create(), oyImage_s::oyImage_GetHeight(), oyImage_s::oyImage_GetPixelLayout(), oyImage_s::oyImage_GetProfile(), oyImage_s::oyImage_GetWidth(), oyLAYOUT, oyOptions_s::oyOptions_Release(), oyProfile_s::oyProfile_GetChannelsCount(), and oyToChannels_m.