imazen / imageflow-dotnet

The official .NET API for Imageflow, the Rust image processing and optimization engine for web servers
GNU Affero General Public License v3.0
143 stars 25 forks source link

PNG to JPEG Conversion Performance #26

Closed bwaldron closed 3 years ago

bwaldron commented 3 years ago

Imageflow.Net (0.7.21) Imageflow.NativeRuntime.win-x86_64 (1.5.4-rc58)

In converting a normal sized PNG (3000x900) to a JPEG, the job is taking minutes to complete. This does not happen in any other format or querystring command. In performance details, can see the primitive_encoder step taking 80+ seconds.

var result = await job.BuildCommandString(new StreamSource(stream, false), new BytesDestination(), "format=jpeg").Finish().InProcessAsync();

image

lilith commented 3 years ago

I think this is a duplicate of https://github.com/imazen/imageflow/issues/576

lilith commented 3 years ago

This was fixed