I need a class library and interface that outputs an image to my specification.
At a high level please note that this class must be written in C# with the .Net framework. Also, We'll be using .Net Version 4.5.1 and it would be absolutely ideal for most of our methods to be of the new Async type members in C#. If you do not know how to work with Async, please do not bid on this project.
This library needs to take in the following REQUIRED properties;
4. CardLabel (20 Characters MAX. Truncate everything else. )
5. CardNumber (16 digits)
6. CardValue (An INT formatted to currency)
The logo and banner urls represent images stored on our web server. When these urls are provided the developer will need to FETCH the media from the url. The image urls can be either GIF, JPG, or PNG.
The images provided will need to be resized/cropped to fit the size indicated in the provided [login to view URL] file.
A QR code is also to be generated. This QR code will represent the CardNumber property. Please view the [login to view URL] for more details.
The QR code will need to be exactly 340px by 340px. No smaller, no bigger.
Truncate long CardLabel with the following text: "..."
The SIZE of the final image cannot be changed or altered in any way.
The SIZE of the final image is: 640px by 900px
The CardValue will come in as an INT. Please format it USD.
1. Keep it clean
2. Keep it documented
3. Provide a console application to demonstrate
4. Use Visual Studios
5. Use Nuget for Dependencies (don't try to write your own QR code generate, or image resizer)
6. PLEASE USE ASYNC helpers. Lots of IO operations here. Be smart.
7. Implement IDisposable. No memory leaks.
8. Add UNIT tests.
Call the Class: 'CardGenerator'
Include Helper Methods;
4. .Save(string location)
Reach me on skype: erik5388