DVUI

PNGEncoder

Physical size of image, pixels per meter added to png pHYs chunk. Use writeWithResolution to specify the resolution, or write for dvui to set it based on the windows resolution 0 => don't write the pHYs chunk

Fields

#
resolution:u32

0 => don't write the pHYs chunk

output:*std.Io.Writer
*std.Io.Writer
bytes_remaining_until_next_state:u32
u32
state:enum(u2) { waiting_for_idhr_len, /// Waiting for one u32 of len data reading_idhr_len, /// Should wait for len + crc (one u32) skipping_idhr_content, has_inserted_chunks, }
enum(u2) { waiting_for_idhr_len, /// Waiting for one u32 of len data reading_idhr_len, /// Should wait for len + crc (one u32) skipping_idhr_content, has_inserted_chunks, }