I am using your code as a reference.
The line: var downloadResponse = await tinyPngClient.Download(compressResponse);
is giving an error
I am using
Assembly TinyPNG, Version=3.2.0.0
using (Stream responseStream = objectResponse.ResponseStream)
{
TinyPngClient tinyPngClient = new TinyPngClient(Environment.GetEnvironmentVariable("TinyPNG_API_Key"));
Console.WriteLine($"Compressing image {s3Event.Bucket.Name}:{s3Event.Object.Key}");
var compressResponse = await tinyPngClient.Compress(responseStream);
var downloadResponse = await tinyPngClient.Download(compressResponse);
var tinyPngClientt = new TinyPngResizeResponse(responseStream.);
}
I am using your code as a reference. The line: var downloadResponse = await tinyPngClient.Download(compressResponse); is giving an error
I am using Assembly TinyPNG, Version=3.2.0.0