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 ¶
func SummaryDiff ¶
func SummaryDiff(summaryFile datasetModel.SummaryFileData, bucket string, fs fileaccess.FileAccess) (datasetModel.SummaryFileData, error)
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)
Click to show internal directories.
Click to hide internal directories.