commit | 4c60f63c6471b3bafdf086dfb831c867ace03ffa | [log] [tgz] |
---|---|---|
author | Pascal Massimino <pascal.massimino@gmail.com> | Sun Dec 06 09:23:17 2015 +0100 |
committer | Pascal Massimino <pascal.massimino@gmail.com> | Sun Dec 06 09:23:17 2015 +0100 |
tree | ba5dd4641472c5f36f079333c85d57839889b7c9 | |
parent | d478e58960c732e0c3d5bd2342cd43cc173613fe [diff] |
make ReadPNG and ReadJPEG take a filename instead of a FILE -> read is a bit slower (memory allocation and such) than reading directly from disk. -> we're not yet ready to accept stdin as input (-- -) because we still need to guess the file type with GetImageType(). And since we can't rewind on stdin, this will need a bit more work before being able to read from stdin. Change-Id: I6491fac4b07d28d1854518325ead88669656ddbf