Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
January 27, 2017 D package for optimizing/compressing images | ||||
---|---|---|---|---|
| ||||
Are there any dub package for compressing images uploaded through web forms? Cropping/resizing may also come in handy. I want one for a vibe.d project. |
January 27, 2017 Re: D package for optimizing/compressing images | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | On Friday, 27 January 2017 at 11:03:15 UTC, aberba wrote:
> Are there any dub package for compressing images uploaded through web forms? Cropping/resizing may also come in handy.
>
> I want one for a vibe.d project.
I don't know of any D projects. If I were doing this I'd be running the vibe.d server on linux and just use common linux utilities for photo manipulation on the commandline.
|
January 27, 2017 Re: D package for optimizing/compressing images | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | On Friday, 27 January 2017 at 19:14:19 UTC, Jesse Phillips wrote:
> On Friday, 27 January 2017 at 11:03:15 UTC, aberba wrote:
>> Are there any dub package for compressing images uploaded through web forms? Cropping/resizing may also come in handy.
>>
>> I want one for a vibe.d project.
>
> I don't know of any D projects. If I were doing this I'd be running the vibe.d server on linux and just use common linux utilities for photo manipulation on the commandline.
Unfortunately, I will be using Heroku which is a PaaS, so no access to shell.
|
January 27, 2017 Re: D package for optimizing/compressing images | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | On 01/27/2017 03:03 AM, aberba wrote: > Are there any dub package for compressing images uploaded through web > forms? Cropping/resizing may also come in handy. > > I want one for a vibe.d project. I have a minimal MagickWand binding if you want to use or extend: https://github.com/acehreli/alibum/blob/master/magickwand.d Ali |
January 28, 2017 Re: D package for optimizing/compressing images | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | On Friday, 27 January 2017 at 11:03:15 UTC, aberba wrote:
> Are there any dub package for compressing images uploaded through web forms? Cropping/resizing may also come in handy.
>
> I want one for a vibe.d project.
Currently, there are RIP and Daffodil dor image related operations. I think support for optimizing pnf, JPEG and gif are yet to be implemented. Daffodil has potential for exactly what I'm looking for.
|
January 28, 2017 Re: D package for optimizing/compressing images | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | On Friday, 27 January 2017 at 11:03:15 UTC, aberba wrote:
> Are there any dub package for compressing images uploaded through web forms? Cropping/resizing may also come in handy.
>
> I want one for a vibe.d project.
I read Flickr and others use GraphicsMagick but here again heroku doesn't help.
|
January 31, 2017 Re: D package for optimizing/compressing images | ||||
---|---|---|---|---|
| ||||
Posted in reply to aberba | On Friday, 27 January 2017 at 11:03:15 UTC, aberba wrote: > Are there any dub package for compressing images uploaded through web forms? Cropping/resizing may also come in handy. > > I want one for a vibe.d project. dlib-webp[1] is almost what I've been looking for. In fact, webp is a complete replacement for jpg, png, gif with an added advantage of smaller file size. [1]http://code.dlang.org/packages/dlib-webp |
Copyright © 1999-2021 by the D Language Foundation