Skip to content

Commit c2c328b

Browse files
Change the screen sizes to the spec
1 parent 1dce2cc commit c2c328b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/remarkable/const_arm64.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ const (
66
Model = RemarkablePaperPro
77

88
// ScreenWidth of the remarkable paper pro
9-
ScreenWidth = 1624
9+
ScreenWidth = 1620
1010
// ScreenHeight of the remarkable paper pro
11-
ScreenHeight = 2154
11+
ScreenHeight = 2160
1212

1313
ScreenSizeBytes = ScreenWidth * ScreenHeight * 4
1414

tools/raw_client/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ func saveImage(img *image.RGBA, output string) error {
6565
func main() {
6666
ip := flag.String("ip", "127.0.0.1", "Server IP address")
6767
port := flag.String("port", "2001", "Server port")
68-
width := flag.Int("width", 1624, "Image width")
69-
height := flag.Int("height", 2154, "Image height")
68+
width := flag.Int("width", 1620, "Image width")
69+
height := flag.Int("height", 2160, "Image height")
7070
output := flag.String("output", "screenshot.png", "Output image file")
7171
username := flag.String("username", "admin", "Basic auth username")
7272
password := flag.String("password", "password", "Basic auth password")

0 commit comments

Comments
 (0)