output

package
v0.0.0-...-9ea7be0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Example (ConvertTiffToPNG)
pngFile, err := ioutil.TempFile("", "png")
pngPath := pngFile.Name()
err = convertTiffToPNG("./test-files/PCW_D141T0654328732_000RCM_N001000022000045301600LUJ01.TIF", pngPath)
fileInfo, err2 := os.Stat(pngPath)

//fmt.Println(pngPath)
fmt.Printf("%v\n", err)
fmt.Printf("%v\n", err2)
fmt.Printf("%v\n", fileInfo.Size() > 234000 && fileInfo.Size() < 334000)
Output:

<nil>
<nil>
true

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type PIXLISEDataSaver

type PIXLISEDataSaver struct {
	// contains filtered or unexported fields
}

func (*PIXLISEDataSaver) Save

func (s *PIXLISEDataSaver) Save(
	data converterModels.OutputData,
	contextImageSrcPath string,
	outPath string,
	creationUnixTimeSec int64, jobLog logger.ILogger) error

Save - saves internal representation of dataset (outputData)

Jump to

Keyboard shortcuts

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