Skip to content

Commit

Permalink
Change the screen sizes to the spec
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akhmetov committed Dec 20, 2024
1 parent 1dce2cc commit c2c328b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions internal/remarkable/const_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ const (
Model = RemarkablePaperPro

// ScreenWidth of the remarkable paper pro
ScreenWidth = 1624
ScreenWidth = 1620
// ScreenHeight of the remarkable paper pro
ScreenHeight = 2154
ScreenHeight = 2160

ScreenSizeBytes = ScreenWidth * ScreenHeight * 4

Expand Down
4 changes: 2 additions & 2 deletions tools/raw_client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func saveImage(img *image.RGBA, output string) error {
func main() {
ip := flag.String("ip", "127.0.0.1", "Server IP address")
port := flag.String("port", "2001", "Server port")
width := flag.Int("width", 1624, "Image width")
height := flag.Int("height", 2154, "Image height")
width := flag.Int("width", 1620, "Image width")
height := flag.Int("height", 2160, "Image height")
output := flag.String("output", "screenshot.png", "Output image file")
username := flag.String("username", "admin", "Basic auth username")
password := flag.String("password", "password", "Basic auth password")
Expand Down

0 comments on commit c2c328b

Please sign in to comment.