openpgp4fpr:B723446F1D98026E340E2B554DD4E1558551E77D
[Verifying my OpenPGP key: openpgp4fpr:878E742048DEBC7BDE3E6D3A2409909AABDCDE3B]
aspe:keyoxide.org:WPBIJFDNKABIQK7SLCDHNTUIM4
I hereby claim:
- I am sebbu2 on github.
- I am sebbu (https://keybase.io/sebbu) on keybase.
- I have a public key whose fingerprint is 878E 7420 48DE BC7B DE3E 6D3A 2409 909A ABDC DE3B
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <cerrno> | |
#include <climits> | |
#include "fast_image_size_reader.hpp" | |
#include "crc32.hpp" | |
enum file_type get_file_type(const char* filename) { | |
assert(strcmp(filename,"")!=0); | |
enum file_type res=UNKNOWN; | |
FILE* fp=fopen(filename, "rb"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use strict; | |
use warnings; | |
while (<>) | |
{ | |
$\="\n"; | |
s/^\s+//; | |
s/\s+$//; |