Skip to content

Commit

Permalink
fix: Resolution wasn't correctly added to header
Browse files Browse the repository at this point in the history
  • Loading branch information
mutschler committed Nov 19, 2016
1 parent 57e8c56 commit af5068c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Changelog

## 1.0.7 (dev)
## 1.0.7 (20 Nov 2016)

## New
### New
- options for blur and blank threshold
- option to upload generated image to a given url (--upload and --upload-url)

### Changes
- improve usage of different skip functions when used in combination
- changed help message for some flags
- dont append {{Count}} to filename when useing --single-images with --numcap 1
- Fix an error where Resulution wasn't correctly added to header

## 1.0.6 (10 Jun 2016)

Expand Down
2 changes: 1 addition & 1 deletion mt.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ func createHeader(fn string) []string {

duration := fmt.Sprintf("Duration: %s", time.Unix(gen.Duration/1000, 0).UTC().Format("15:04:05"))

dimension := fmt.Sprintf("Resolution: %dx%d", gen.Width, gen.Height)
dimension := fmt.Sprintf("Resolution: %dx%d", gen.Width(), gen.Height())

header = append(header, fname)
header = append(header, fsize)
Expand Down

0 comments on commit af5068c

Please sign in to comment.