[hatari-devel] Screenshots in NEO format |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] Screenshots in NEO format
- From: "J.Young" <jyoung8299@xxxxxxxxxx>
- Date: Tue, 2 Jan 2024 14:52:55 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704207177; bh=rD8GbE2l91NJGkJXXTqL8FbWcpUnkiq9CfyMtxEhpiA=; h=Message-ID:Date:MIME-Version:Subject:From:To: Content-Transfer-Encoding:From; b=P9c9m2r3jNt1kdfufswYBYEKixNaoSV+hW0qAVReAi9METbJKiUmfyMDYIyFt/0yp 0na6Xgg9cwJFeZ05PBuC6fScn03YTpfPef3clXS+v1Uiy7LiaKQwZPywiE9VmLjZDf aXLTj6465zznRayFxjgQ/pRWKKapgpY2MjcQWSGD4gPkBjiuBAu32fVzghTKV9qEt8 K8wkK0c9kmgr7DByZux58qpfJDvUoWISRji8Lhb7+5OnO/FpxhNxzXBXiIPyTAml0n ECcE8d9FrqZVmiRLnxgXW8lTVhBA1uktDOtFVt19FYmKtt2aP8a26fdO6Sx1EWaiCt 2TyMAm8hlQk/w==
Can we get support to dump screenshots in NEO format at native
resolution? Currently it dumps the framebuffer as PNG in whatever
resolution it has on the host window. Resizing and resampling these
PNGs to NEO causes distortions.
NEO format is pretty simple:
- word - flag (always 00)
- word - rez (00-low, 01-med, etc)
- 16 words - palette
- 92 bytes - information header (can be empty)
total 128 bytes for header
- then 32000 byte screen data
total 32128 bytes
Jeff