Needed to use png for logo because of transparency.
This commit is contained in:
parent
8636466f87
commit
8c62c7cb32
1 changed files with 5 additions and 1 deletions
|
@ -41,6 +41,10 @@ class App.ImageService
|
|||
#@resize()
|
||||
@canvas.toDataURL( type, quallity )
|
||||
|
||||
toDataURLForApp: ( x, y ) =>
|
||||
toDataURLForAvatar: ( x, y ) =>
|
||||
@resize( x * 2, y * 2 )
|
||||
@toDataURL( 'image/jpeg', 0.7 )
|
||||
|
||||
toDataURLForApp: ( x, y ) =>
|
||||
@resize( x * 2, y * 2 )
|
||||
@toDataURL( 'image/png', 0.7 )
|
||||
|
|
Loading…
Reference in a new issue