Versions in this module Expand all Collapse all v0 v0.1.4 Oct 4, 2026 Changes in this version + func RasterizePDFPages(ctx context.Context, pdftoppm string, pdf []byte, dpi int) ([]*image.RGBA, error) + type VisualComparison struct + MeanAbsoluteError float64 + PageCount int + PixelMatchRate float64 + Similarity float64 + WorstPage int + WorstPageMatchRate float64 + WorstPageSimilarity float64 + func ComparePageImages(reference, actual []*image.RGBA, pixelTolerance uint8) (VisualComparison, error) v0.1.3 Sep 24, 2026 v0.1.2 Sep 19, 2026 Changes in this version + func MinimalPDF(content []byte, width, height int) []byte + func MinimalPDFWithPage(content []byte, mediaBox string, userUnit int) []byte