Sample Code


This directory contains sample code for adding a new format to the IMG library. Refer to the toolkit documentation for more details.

Example 1
Sample source code to read/write a simple image format.
IMG_Raw.C
IMG_Raw.h
Specifies a simple raw image format.
index This file should be installed in ~/houdini/dso_fb (along with the .so file) to extend the IMG library

Typically, hcustom builds the .so file in ~/houdini/dso. However, .so files for the IMG library must be located in the dso_fb sub-directory (anywhere in the Houdini path). Please either move the .so file by hand, or use the -i option on the hcustom command to specify the correct directory. For example:

hcustom -i ~/houdini/dso_fb IMG_Raw.C

Copyright © 1996 Side Effects Software Inc.
477 Richmond Street West, Toronto, Ontario, Canada M5V 3E7