Compare commits

..

2 Commits

Author SHA1 Message Date
f11fc7e86a
update deps 2023-05-18 18:16:59 +02:00
f3eab7503a
add standard resolution 1920x1200 2023-05-18 18:15:25 +02:00
3 changed files with 7 additions and 5 deletions

2
go.mod
View File

@ -3,7 +3,7 @@ module github.com/celogeek/go-comic-converter/v2
go 1.20
require (
github.com/beevik/etree v1.1.4
github.com/beevik/etree v1.2.0
github.com/disintegration/gift v1.2.1
github.com/gofrs/uuid v4.4.0+incompatible
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0

4
go.sum
View File

@ -1,5 +1,5 @@
github.com/beevik/etree v1.1.4 h1:34PFKrJczQ1qXVC4QCqvY0Iz7m3xu89OShTjYRl4Nbk=
github.com/beevik/etree v1.1.4/go.mod h1:aiPf89g/1k3AShMVAzriilpcE4R/Vuor90y83zVZWFc=
github.com/beevik/etree v1.2.0 h1:l7WETslUG/T+xOPs47dtd6jov2Ii/8/OjCldk5fYfQw=
github.com/beevik/etree v1.2.0/go.mod h1:aiPf89g/1k3AShMVAzriilpcE4R/Vuor90y83zVZWFc=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

View File

@ -20,6 +20,10 @@ type Profiles []Profile
// Initialize list of all supported profiles.
func New() Profiles {
return []Profile{
// High Resolution for Tablette
{"HR", "High Resolution", 2400, 3840},
{"SR", "Standard Resolution", 1200, 1920},
//Kindle
{"K1", "Kindle 1", 600, 670},
{"K11", "Kindle 11", 1072, 1448},
{"K2", "Kindle 2", 600, 670},
@ -45,8 +49,6 @@ func New() Profiles {
{"KoF", "Kobo Forma", 1440, 1920},
{"KoS", "Kobo Sage", 1440, 1920},
{"KoE", "Kobo Elipsa", 1404, 1872},
// High Resolution for Tablette
{"HR", "High Resolution", 2400, 3840},
}
}