tinify / tinify-net Goto Github PK
View Code? Open in Web Editor NEW.NET client for the Tinify API.
Home Page: https://tinypng.com/developers
License: MIT License
.NET client for the Tinify API.
Home Page: https://tinypng.com/developers
License: MIT License
In order to setup the automatic push to Nuget after a repository tag, I need the encrypted value of the nuget api key.
You can use this page to make it:
https://ci.appveyor.com/tools/encrypt
I am implementing in VB.net
I need a version of this DLL with a strong name key, our solution gets installed in the GAC on the server and requires it.
I Forked to create a version and deployed it and I am getting the above error.
Any ideas ?
Setup the AppVeyour build in order to:
Create an AppVeyor account in order to setup the continuous build of Pull Requests, master branches and releases to Nuget/Myget
With the deprecation of older .Net Frameworks and older .Net Core versions, it seems like it would be good to move the library to target .Net standard2.1. This would allow access to features from newer C# versions that would allow for some performance enhancements as well as some other code cleanup. I would be happy to take on the work.
class Exception : System.Exception {}? Really?
Create a Myget account to place the nupkg files that are generated from the master branch.
These are expecially usefull in order to be able to test the bits not yet released.
A public feed is free.
I believe the current build is failing due to an issue with an older version of the MSBuild tools that had an issue with the Remove tag in a project file. The current build is targeting 'Previous Visual Studio 2017'. With VS2022 out, it would probably be reasonable to bump the build to the current release.
I have the following code:
`public async Task<byte[]> CompressImageFromUrlAsync(string url)
{
var a1 = Tinify.CompressionCount;
var source =
await Tinify.FromUrl(url).ConfigureAwait(false); // <- CompressionCount inc here
var a2 = Tinify.CompressionCount;
var copyrighted = source.Preserve("copyright");
var a3 = Tinify.CompressionCount;
var outputBuffer = await copyrighted.ToBuffer().ConfigureAwait(false); // <- CompressionCount inc here
var a4 = Tinify.CompressionCount;
Debug.WriteLine($"CompressImageFromUrl checkpoints: {a1}, {a2}, {a3}, {a4}");
return outputBuffer;
}`
It looks like my CompressionCount is being double charged. It's incremented in both the FromUrl() call and the ToBuffer() call. Unless I'm missing something.. ?
For non windows platforms there are some issues with the certificates validations on nonssl installs. There should be a workaround to skip that validation while Microsoft works on this issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.