utils

package
v0.0.0-...-13b8926 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2017 License: GPL-3.0 Imports: 12 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBg

func ConvertBg()

ConvertBg converts background from png / jpeg to jpeg in case it's tiled fills 1920x1920 square with tiles

func FileExists

func FileExists(name string) bool

FileExists is checks if file exist https://stackoverflow.com/a/12527546

func GetLatestMaps

func GetLatestMaps(osin, osout string)

GetLatestMaps downloads latest maps for conversion from repos_url https://github.com/TThemes/TThemeMap/

func GuessOS

func GuessOS(filename *string) string

GuessOS returns OS depending on theme file extencion

func MakeTiledBg

func MakeTiledBg(bgcolor string)

MakeTiledBg creates 1x1 converted.jpg

func PrepareFolders

func PrepareFolders()

PrepareFolders creates folders for convertor

Types

This section is empty.

Jump to

Keyboard shortcuts

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