Removed GPL text as permission was obtained from Michael Sweet to allow this derivative work to be distributed under the OpenBeOS license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6477 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,31 +1,37 @@
|
|||||||
/*
|
/*****************************************************************************/
|
||||||
* SGI image file format library routines.
|
// SGITranslator
|
||||||
*
|
// Written by Stephan Aßmus <[email protected]>
|
||||||
* Formed into a class SGIImage, adopted to Be API and modified to use
|
// derived from GIMP SGI plugin by Michael Sweet
|
||||||
* BPositionIO, optimizations for buffered reading:
|
//
|
||||||
*
|
// SGIImage.cpp
|
||||||
* Stephan Aßmus, <[email protected]>
|
//
|
||||||
*
|
// SGI image file format library routines.
|
||||||
* Original Copyright as follows:
|
//
|
||||||
*
|
// Formed into a class SGIImage, adopted to Be API and modified to use
|
||||||
* Copyright 1997-1998 Michael Sweet ([email protected])
|
// BPositionIO, optimizations for buffered reading.
|
||||||
*
|
//
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
//
|
||||||
* under the terms of the GNU General Public License as published by the Free
|
// Copyright (c) 2003 OpenBeOS Project
|
||||||
* Software Foundation; either version 2 of the License, or (at your option)
|
// Portions Copyright 1997-1998 Michael Sweet ([email protected])
|
||||||
* any later version.
|
//
|
||||||
*
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
* This program is distributed in the hope that it will be useful, but
|
// copy of this software and associated documentation files (the "Software"),
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
// to deal in the Software without restriction, including without limitation
|
||||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
* for more details.
|
// and/or sell copies of the Software, and to permit persons to whom the
|
||||||
*
|
// Software is furnished to do so, subject to the following conditions:
|
||||||
* You should have received a copy of the GNU General Public License
|
//
|
||||||
* along with this program; if not, write to the Free Software
|
// The above copyright notice and this permission notice shall be included
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
// in all copies or substantial portions of the Software.
|
||||||
*/
|
//
|
||||||
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,30 +1,50 @@
|
|||||||
|
/*****************************************************************************/
|
||||||
|
// SGITranslator
|
||||||
|
// Written by Stephan Aßmus <[email protected]>
|
||||||
|
// derived from GIMP SGI plugin by Michael Sweet
|
||||||
|
//
|
||||||
|
// SGIImage.h
|
||||||
|
//
|
||||||
|
// SGI image file format library routines.
|
||||||
|
//
|
||||||
|
// Formed into a class SGIImage, adopted to Be API and modified to use
|
||||||
|
// BPositionIO, optimizations for buffered reading.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Copyright (c) 2003 OpenBeOS Project
|
||||||
|
// Portions Copyright 1997-1998 Michael Sweet ([email protected])
|
||||||
|
//
|
||||||
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
// copy of this software and associated documentation files (the "Software"),
|
||||||
|
// to deal in the Software without restriction, including without limitation
|
||||||
|
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
// and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
// Software is furnished to do so, subject to the following conditions:
|
||||||
|
//
|
||||||
|
// The above copyright notice and this permission notice shall be included
|
||||||
|
// in all copies or substantial portions of the Software.
|
||||||
|
//
|
||||||
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* "$Id: SGIImage.h,v 1.1 2004/02/02 23:55:38 mwilber Exp $"
|
* "$Id: SGIImage.h,v 1.2 2004/02/03 00:52:18 mwilber Exp $"
|
||||||
*
|
|
||||||
* SGI image file format library definitions.
|
|
||||||
*
|
|
||||||
* Copyright 1997-1998 Michael Sweet ([email protected])
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
|
||||||
* under the terms of the GNU General Public License as published by the Free
|
|
||||||
* Software Foundation; either version 2 of the License, or (at your option)
|
|
||||||
* any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful, but
|
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
||||||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
||||||
* for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
*
|
||||||
* Revision History:
|
* Revision History:
|
||||||
*
|
*
|
||||||
* $Log: SGIImage.h,v $
|
* $Log: SGIImage.h,v $
|
||||||
|
* Revision 1.2 2004/02/03 00:52:18 mwilber
|
||||||
|
* Removed GPL text as permission was obtained from Michael Sweet to allow this derivative work to be distributed under the OpenBeOS license.
|
||||||
|
*
|
||||||
* Revision 1.1 2004/02/02 23:55:38 mwilber
|
* Revision 1.1 2004/02/02 23:55:38 mwilber
|
||||||
* Initial check in for Stephan Assmus' SGITranslator
|
* Initial check in for Stephan Assmus' SGITranslator
|
||||||
*
|
*
|
||||||
* Revision 1.5 1998/05/17 16:01:33 mike
|
* Revision 1.5 1998/05/17 16:01:33 mike
|
||||||
* Added <unistd.h> header file.
|
* Added <unistd.h> header file.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user