image_test_data

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileReader

func GetFileReader(img interface {
	Base64Reader(l logger_.Logger) (io.Reader, string, error)
}, l logger_.Logger) (io.Reader, error)

Types

type Imgb64

type Imgb64 string
const (
	// PNG 1x1 : https://shoonia.github.io/1x1/#00000000
	PNG_1_1 Imgb64 = `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQIW2NgAAIAAAUAAR4f7BQAAAAASUVORK5CYII=`

	// JPG 1x1 : https://en.wikipedia.org/wiki/File:Blank.JPG
	JPG_1_1 Imgb64 = `` /* 866-byte string literal not displayed */

	// PNG 16x16 : https://24toolbox.com/dummy-image-generator/
	PNG_16x16 Imgb64 = `` /* 138-byte string literal not displayed */

	// JPG 16x16 : https://24toolbox.com/dummy-image-generator/
	JPG_16_16 Imgb64 = `` /* 870-byte string literal not displayed */

	// PNG 32x32
	PNG_32x32 Imgb64 = `` /* 178-byte string literal not displayed */

	// JPG 10001x10001 : https://24toolbox.com/dummy-image-generator/
	JPG_10001_10001 Imgb64 = `` /* 259806-byte string literal not displayed */

	// SVG: https://musicblues.ru/svg-editor
	SVG Imgb64 = `` /* 686-byte string literal not displayed */
)

images

func (Imgb64) Base64Reader

func (img Imgb64) Base64Reader(l logger_.Logger) (io.Reader, string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL