diff --git a/nimshot.nimble b/nimshot.nimble index 55f76ec..6d43ea4 100644 --- a/nimshot.nimble +++ b/nimshot.nimble @@ -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" diff --git a/src/nimshot.nim b/src/nimshot.nim index 24d45bb..3fafddc 100644 --- a/src/nimshot.nim +++ b/src/nimshot.nim @@ -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,