imazen/imageflow-dotnet

PNG to JPEG Conversion Performance

Closed this issue · 2 comments

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

I think this is a duplicate of imazen/imageflow#576

This was fixed