pressly / imgry

On-demand image sizing+delivery for responsive applications
MIT License
157 stars 15 forks source link

Issue 10 #11

Closed xiam closed 9 years ago

xiam commented 9 years ago

Adding "fitted" op and "canvas" parameter. The JPEG canvas looks ugly because JPEG does not have transparency. Maybe we could add another issue to add a canvasbg parameter for that case?

Closes #10.

pkieltyka commented 9 years ago

can you try this PR with &format=png .. and use a png as the source image.. this should give you a proper transparency

xiam commented 9 years ago

@pkieltyka I tried with JPEG, PNG and animated GIFs as sources. The generated images should be written to testdata/