| Oyranos Colour Management System API

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Functions
oyConversion_s.c File Reference
`#include "oyConversion_s.h"`
`#include "oyObject_s.h"`
`#include "oyranos_object_internal.h"`
`#include "oyConversion_s_.h"`
`#include "oyranos_module_internal.h"`
`#include "oyCMMapiFilters_s.h"`
`#include "oyFilterPlug_s_.h"`
`#include "oyFilterNode_s_.h"`
`#include "oyImage_s.h"`
`#include "oyImage_s_.h"`
`#include "oyCMMapi9_s_.h"`
`#include "oyPixelAccess_s_.h"`

## Functions

oyConversion_s * | 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.c | +-> Base_s.c | +– oyStruct_s.template.c

Oyranos is an open source Colour Management System

Copyright:
  2004-2012 (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
  2012/12/13

## Function Documentation

oyConversion_s* 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_in | input
  [in] | module | tobe ussed icc node
  [in] | flags | for inbuild defaults | oyOPTIONSOURCE_FILTER; for options marked as advanced | oyOPTIONATTRIBUTE_ADVANCED | OY_SELECT_FILTER | OY_SELECT_COMMON
  [in] | data_type | the desired data type for output
  [in] | obj | Oyranos object (optional)

Returns
  generated new graph, owned by caller

Version
  Oyranos: 0.5.0

Since
  2012/04/21 (Oyranos: 0.5.0)

Date
  2012/04/21

References 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.