Skip to content

Commit

Permalink
Who'd have thought.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihara committed Oct 28, 2023
1 parent 232c69a commit 1404113
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nimshot.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.1.0"
version = "0.1.1"
author = "Eugene Medvedev"
description = "A very specialized tool for RG35XX"
license = "MIT"
Expand Down
3 changes: 3 additions & 0 deletions src/nimshot.nim
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ proc processImage(fromData: string, maskImage: Image,
sourceImage.width == 720 and sourceImage.height == 270):
sourceImage = sourceImage.resize(sourceImage.width,
sourceImage.height*2)
# Turns out, vertically doubling modes also exist.
if (sourceImage.width == 256 and sourceImage.height == 448):
sourceImage = sourceImage.resize(sourceImage.width*2, sourceImage.height)

let
# We explicilty fit into something four times as wide as the screen,
Expand Down

0 comments on commit 1404113

Please sign in to comment.