Skip to content

Commit

Permalink
fixed zoom bug and added more resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilu committed Nov 24, 2023
1 parent 311603c commit b8e44f2
Show file tree
Hide file tree
Showing 11 changed files with 128 additions and 133 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ OUT/
dosview-X.Y.zip
DBS.lnk
DBX.lnk
upx-4.2.1-dos/
upx/
36 changes: 0 additions & 36 deletions 3rdparty/tiff-4.6.0/libtiff/tiffvers.h

This file was deleted.

5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,15 @@ $(BUILDDIR)/loadpng/%.o: $(LOADPNG)/%.c Makefile

zip: all
rm -f $(RELZIP)
zip -9 -r $(RELZIP) $(EXE) CWSDPMI.EXE LICENSE *.md
upx -9 -oupxview.exe $(EXE)
zip -9 -r $(RELZIP) $(EXE) upxview.exe CWSDPMI.EXE LICENSE *.md

init: configure_tiff
mkdir -p $(BUILDDIR) $(BUILDDIR)/loadpng

clean:
rm -rf $(BUILDDIR)/
rm -f $(EXE) $(ZIP)
rm -f $(EXE) $(ZIP) upxview.exe UPXVIEW.EXE

distclean: clean zclean alclean webpclean jpegclean distclean_tiff jasperclean alpngclean algifclean
rm -f OUT.* LOW.*
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ The source is on [GitHub](https://github.com/SuperIlu/DosView/)
## Command line arguments
```
Usage:
DOSVIEW.EXE [-hbl] [-q <quality>] [-w <width>] [-s <outfile>] <infile>
-h : show this screen
-l : list know screen modes
-w <width> : screen width to use.
DOSVIEW.EXE [-hkl] [-q <quality>] [-r <num>] [-s <outfile>] <infile>
-h : show this screen.
-l : list know screen modes.
-r <num> : screen mode to use (use -l for a list).
-s <outfile> : do not show the image, save it to outfile instead.
-f <factor> : scale saved image, <1 reduce, >1 enlarge (float).
-q <quality> : Quality for writing JPG/WEP/JP2 image (1..100). Default: 95
Expand Down Expand Up @@ -91,6 +91,10 @@ Please see the attached [LICENSE](LICENSE) file for the license of all involved
* image conversion always needs a working display mode (Allegros fault)

# Changelog
### 1.4 / November 24th, 2023
* new screen resolutions and change in command line
* (hopefully) fixed bug in image zooming when image was not 4:3 and a multiple of the resolution

### 1.3.1 / November 12th, 2023
* fixed color palette error

Expand Down
Binary file added images/IMG_1941.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/high.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/portrait.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tsth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tstw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/wide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit b8e44f2

Please sign in to comment.