Blender Git Commit Log

Git Commits -> Revision 590251f

Revision 590251f by Sergey Sharybin (master)
August 27, 2012, 11:59 (GMT)
File format fixes

- Add check for header field in BMP decoder. This is needed to distinguish
whether file is indeed BMP image or not.
Without this check Blender could easily crash when it'll try to load
non-BMP image.
Tested with files from own HDD, but all of them has got BM header field,
more testing would be welcome.

- Made Jpeg2000 aware of J2K codec. Originally was needed to verify .j2c
files here in the studio, but having support of this codec would be
nice in general.
Currently supports only reading in this codec, writing would still
using jp2 codec.

Commit Details:

Full Hash: 590251f55a113848043c8eb43563379f614f65f3
SVN Revision: 50247
Parent Commit: 13254cd
Lines Changed: +28, -6

3 Modified Paths:

/source/blender/imbuf/intern/bmp.c (+12, -1) (Diff)
/source/blender/imbuf/intern/jp2.c (+15, -5) (Diff)
/source/blender/imbuf/intern/util.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021