Menu ▾ ▴

#6 SGI plugin

closed
None
5
2012-10-31
2006-02-15
swilcox
No

I've attached a pluging that allows the reading of SGI
image files. This file format was/is popular on
Silicon Graphics machines.

To support this plugin please add this file to the
appropriate makefiles/vcproj files as well as the
following modifications:

  • in plugin.h, add the following line:
    void DLL_CALLCONV InitSGI(Plugin *plugin, int format_
    id);

  • in plugin.cpp in the FreeImage_Initialise(...)
    function, add the following line:

    s_plugins->AddNode(InitSGI);

right after:
s_plugins->AddNode(InitRAS);

Discussion

  • swilcox

    swilcox - 2006-02-15

    SGI plugin

     
  • swilcox

    swilcox - 2006-02-15

    Logged In: YES
    user_id=1349383


    Oops, quick change. In plugin.cpp in the FreeImage_
    Initialise(...), do NOT add s_plugins->AddNode(InitSGI);
    after s_plugins->AddNode(InitRAS);, add it to the bottom of
    the list, which in 3.8.0 is right after s_plugins->AddNode
    (InitHDR);

    Also, in freeimage.h, add:
    FIF_SGI = 27
    to the FI_ENUM(FREE_IMAGE_FORMAT) enum

     
  • Hervé Drolon

    Hervé Drolon - 2006-02-26

    Logged In: YES
    user_id=613758

    Hi,
    Thanks for this patch.
    I've added your plugin to the FreeImage CVS, with a few
    modifications so that it can work on Big Endian machines.
    I've also added your name (instead of 'anonymous') to the
    file header.

    Hervé Drolon

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Anonymous
Anonymous

Add attachments
Cancel