Author Topic: Thoughts on the LSL4 babes  (Read 1217 times)

0 Members and 1 Guest are viewing this topic.

Offline Kawa

Re: Thoughts on the LSL4 babes
« Reply #15 on: April 19, 2025, 03:59:51 PM »
The format of an image in a Picture resource is identical to a View's cel. Which means it uses RLE.

In EGA, the RLE format is pretty simple: the least significant nibble specifies the color and the most significant nibble specifies the amount. So you can have up to sixteen colors, in spans of of up to sixteen pixels. And that means any dithering means a new run for every dot. So I'm not surprised the mountain of corpses is 3K+.

Sources:
https://www.tumblr.com/kawaoneechan/706335362813935616
https://github.com/Kawa-oneechan/SCICompanion/blob/da8067cd1c1497f57d943a87d1f786057abff905/SCICompanionLib/Src/Resources/View.cpp#L94

Offline lskovlun

Re: Thoughts on the LSL4 babes
« Reply #16 on: April 20, 2025, 06:46:28 PM »
The format of an image in a Picture resource is identical to a View's cel. Which means it uses RLE.
Yup, but this is not very efficient for a (dithered) gradient. 1 pixel of color x, 1 pixel of color y, etc.

Offline Kawa

Re: Thoughts on the LSL4 babes
« Reply #17 on: April 21, 2025, 02:10:45 AM »
That's the second part of what I posted, yeah :3
And that means any dithering means a new run for every dot.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.031 seconds with 22 queries.