CiTR Repository

giftrans


 
Object_Id               : 238
Title                   : giftrans
Node_Type               : Visible to Librarians only
Format                  : binary
Address                 : /projects6/necatm/380/work/symons/giftrans
Keywords                : giftrans
                          gif translation
                          gif information
Abstract                : This program can tell you the colour maps in a gif, convert 
                          gif formats (g87 etc), set the invisible background colour,
                          gif comments and general gif info - eg the logical and real sizes.
                          
                          eg
                          $ pwd
                           /projects6/necatm/380/src/mpoa/demo/java/images
                          $ giftrans -L base.gif 2> t
                          cat t
                          Header: "GIF87a"
                          Logical Screen Descriptor:
                                  Logical Screen Width: 1280 pixels
                                  Logical Screen Height: 1024 pixels
                          note the sizes                 ^^^^^^^^^^^
                                  Global Color Table Flag: True
                                  Color Resolution: 8 bits
                                  Sort Flag: False
                                  Size of Global Color Table: 256 colors
                                  Background Color Index: 0
                          Global Color Table:
                                  Color 0: Red 0, Green 0, Blue 0, #000000 (black, gray0, grey0)
                                  Color 1: Red 255, Green 255, Blue 255, #ffffff (white, gray100, grey100)
                                  Color 2: Red 243, Green 218, Blue 169, #f3daa9
                          
                                  Color 255: Red 255, Green 128, Blue 128, #ff8080
                          Image Descriptor:
                                  Image Left Position: 0 pixels
                                  Image Top Position: 0 pixels
                                  Image Width: 376 pixels
                                  Image Height: 179 pixels
                          note the sizes        ^^^^^^^^^^^
                                  Local Color Table Flag: False
                                  Interlace Flag: False
                          Table Based Image Data:
                                  LZW Minimum Code Size: 0x08
                          Trailer
                          
                          
                          The logical and real size differences gave me the java memory
                          problem. 
                          
                          giftoppm and ppmtogif will fix this 
                          $ giftoppm ../../images2/$i | 
Date_Entry_Created      : 
Entry_Created_By        : 
Date_Entry_Last_Modified: 
Entry_Last_Modified_By  : 
Asset_Qualification     : 
Other_Opinions          : 
Contact_Person          : 
IP_or_Copyright_Owner   : 
Support_re_Ownership    : 
Date_Item_Created       : 
Usage_Conditions        : 
Support_re_Usage_Condns : 
Authors_and_Contributors: 
Projects_Used_In        : 
Obtained_From           : 
Derived_From            : 
Related_Items           : 
Code_Type               : 
Programming_Language    : 
Portations              : 
Source_Location         : 
Binaries_Location       : 
Issues_Bug_etc_List_Locn: 
Additional_Info         :