mirror of
https://github.com/nothings/stb-imv
synced 2024-11-25 06:49:35 +03:00
first cut of bicubic sampler
This commit is contained in:
parent
43500fa8b3
commit
f734cfa7be
@ -1,3 +1,10 @@
|
|||||||
|
Version 0.57
|
||||||
|
* bugfix: comment code
|
||||||
|
* bugfix: fix logic for fitting large images onscreen to not stop a few pixels short
|
||||||
|
|
||||||
|
Version 0.56
|
||||||
|
* bugfix: stb_image wouldn't load jpegtran output (which is invalid JFIF)
|
||||||
|
|
||||||
Version 0.55 (2007-06-27)
|
Version 0.55 (2007-06-27)
|
||||||
* feature: toggle filename label
|
* feature: toggle filename label
|
||||||
* feature: toggle entire border
|
* feature: toggle entire border
|
||||||
|
@ -2,8 +2,11 @@
|
|||||||
|
|
||||||
= Release =
|
= Release =
|
||||||
|
|
||||||
The current version is 0.54.
|
This is an alpha version, targetting the eventual milestones:
|
||||||
|
|
||||||
|
version 0.90 - beta
|
||||||
|
|
||||||
|
version 1.00 - stable release
|
||||||
|
|
||||||
= Release Notes =
|
= Release Notes =
|
||||||
|
|
||||||
|
@ -20,11 +20,7 @@ rem # Make tarball directory
|
|||||||
mkdir ..\stb_imv_src-%VERSION%
|
mkdir ..\stb_imv_src-%VERSION%
|
||||||
mkdir ..\stb_imv_src-%VERSION%\vc6
|
mkdir ..\stb_imv_src-%VERSION%\vc6
|
||||||
copy vc6\stb_imv.ds? ..\stb_imv_src-%VERSION%\vc6
|
copy vc6\stb_imv.ds? ..\stb_imv_src-%VERSION%\vc6
|
||||||
copy *.c ..\stb_imv_src-%VERSION%
|
copy *.* ..\stb_imv_src-%VERSION%
|
||||||
copy *.h ..\stb_imv_src-%VERSION%
|
|
||||||
copy COPYING ..\stb_imv_src-%VERSION%
|
|
||||||
copy *.txt ..\stb_imv_src-%VERSION%
|
|
||||||
copy *.bat ..\stb_imv_src-%VERSION%
|
|
||||||
|
|
||||||
rem #
|
rem #
|
||||||
|
|
||||||
|
@ -980,7 +980,9 @@ static int process_frame_header(int scan)
|
|||||||
|
|
||||||
for (i=0; i < img_n; ++i) {
|
for (i=0; i < img_n; ++i) {
|
||||||
img_comp[i].id = get8();
|
img_comp[i].id = get8();
|
||||||
if (img_comp[i].id != i+1) return e("bad component ID"); // JFIF requires
|
if (img_comp[i].id != i+1) // JFIF requires
|
||||||
|
if (img_comp[i].id != i) // jpegtran outputs non-JFIF-compliant files!
|
||||||
|
return e("bad component ID");
|
||||||
z = get8();
|
z = get8();
|
||||||
img_comp[i].h = (z >> 4); if (!img_comp[i].h || img_comp[i].h > 4) return e("bad H");
|
img_comp[i].h = (z >> 4); if (!img_comp[i].h || img_comp[i].h > 4) return e("bad H");
|
||||||
img_comp[i].v = z & 15; if (!img_comp[i].h || img_comp[i].h > 4) return e("bad V");
|
img_comp[i].v = z & 15; if (!img_comp[i].h || img_comp[i].h > 4) return e("bad V");
|
||||||
|
@ -95,15 +95,7 @@ SOURCE=..\imv.c
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\notes.txt
|
SOURCE=..\notes.txt
|
||||||
|
|
||||||
!IF "$(CFG)" == "stb_imv - Win32 Release"
|
|
||||||
|
|
||||||
# PROP Exclude_From_Build 1
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "stb_imv - Win32 Debug"
|
|
||||||
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
@ -112,15 +104,7 @@ SOURCE=..\stb.h
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\version.bat
|
SOURCE=..\version.bat
|
||||||
|
|
||||||
!IF "$(CFG)" == "stb_imv - Win32 Release"
|
|
||||||
|
|
||||||
# PROP Exclude_From_Build 1
|
# PROP Exclude_From_Build 1
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "stb_imv - Win32 Debug"
|
|
||||||
|
|
||||||
!ENDIF
|
|
||||||
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
|
@ -1 +1 @@
|
|||||||
set VERSION="0.55"
|
set VERSION="0.57"
|
||||||
|
Loading…
Reference in New Issue
Block a user