-Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs and speeds up. Closes #2040

-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
This commit is contained in:
Juan Linietsky
2016-01-03 17:14:28 -03:00
parent b988f016fd
commit e8fbf39f88
24 changed files with 3985 additions and 3236 deletions
+7 -3
View File
@@ -1636,12 +1636,16 @@ int64_t String::to_int64() const {
return integer*sign;
}
int String::to_int(const char* p_str) {
int String::to_int(const char* p_str,int p_len) {
int to=0;
while(p_str[to]!=0 && p_str[to]!='.')
to++;
if (p_len>=0)
to=p_len;
else {
while(p_str[to]!=0 && p_str[to]!='.')
to++;
}
int integer=0;