Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@bluelovers/auto1111-pnginfo

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bluelovers/auto1111-pnginfo

an extreremely minimalistic js library to extract PNG info from auto1111 gens

latest
Source
npmnpm
Version
2.0.6
Version published
Maintainers
1
Created
Source

auto1111-pnginfo

an extreremely minimalistic js library to extract PNG info from auto1111 gens

it works on my machine, there's also a memory leak

details

this is an extremely simple library written to extract generation data from pngs generated by auto1111, it works both in the browser and in nodejs (probably deno too?)

as far as I can tell this works "correctly" with every PNG i've ever generated, and that's good enough for me

usage

import fs from 'fs/promises'
import parseFromImageBuffer from '@bluelovers/auto1111-pnginfo'

const file = await fs.readFile('generate_waifu.png')
const info = parseFromImageBuffer(file)

console.log(info)

notes

PNG Info is actually broken in auto1111, so this aims to be broken the same way. If you have a multi line prompt with the last line starting with Negative prompt: that will end up as the negative prompt in the generation, rather than part of the positive prompt. You can also put the Steps/Sampler etc into the negatives and get the same effect. I'm sure there are many other edge cases. Oh yeah also this probably doesn't work on a big endian arch.

Keywords

automatic1111

FAQs

Package last updated on 08 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts