dsh-long-image: A DSH Long-Image Reading Plugin That Splits Ultra-Long Screenshots by Model 1:1 Pixel Budget

dsh-long-image is a DSH model inference plugin maintained by drdrdr666, designed for reading extremely long images in a single call. It calculates the height of each slice based on visual routing 14px patches, 42px units, and a 1024-token limit, making cuts at "quiet" blank rows identified by ink profile to avoid truncating text. It provides the long_see and long_crop utilities. Safe slicing is supported for PNG and baseline JPEG; WebP, GIF, and progressive JPEG must be converted to PNG first. Install via pnpm from GitHub and add to profile bundles. Requires Node >= 20. Licensed under MIT, version 0.2.2.

Read More