This fixes bug #1990
authorKent Mein <mein@cs.umn.edu>
Thu, 9 Dec 2004 13:09:11 +0000 (13:09 +0000)
committerKent Mein <mein@cs.umn.edu>
Thu, 9 Dec 2004 13:09:11 +0000 (13:09 +0000)
commitbdffe196afee7ea2cd5bbdffa3514b4ae2b68196
tree80860cf841f227bafe614f068ee20c0b7ca36c48
parenteae5d39899652f86e2b9288a69395dfcec27c8b1
This fixes bug #1990

It moves targa, bmp, iris and png loading so that were not opening
2 file handles for each file, and made them like the jpeg stuff.

Also cleaned up some minor other stuff.

Kent
source/blender/imbuf/intern/IMB_bmp.h
source/blender/imbuf/intern/IMB_iris.h
source/blender/imbuf/intern/IMB_png.h
source/blender/imbuf/intern/IMB_targa.h
source/blender/imbuf/intern/bmp.c
source/blender/imbuf/intern/iris.c
source/blender/imbuf/intern/png.c
source/blender/imbuf/intern/targa.c
source/blender/imbuf/intern/writeimage.c