Store original or set new resolution (DPI)
Original resolution is stored when loading an image, but in order to save the resolution with the image the
saveResolutionparameter in the save function needs to be set to
true. If not set or set to
falsethe image will be saved with screen resolution (96 DPI).
var image = new KalikoImage("image.jpg"); image.SaveJpg("image-keep-dpi.jpg", 90, true);
It's also possible to get or set the current resolution by using the
var image = new KalikoImage("image.jpg"); image.VerticalResolution = 300; image.HorizontalResolution = 300; image.SaveJpg("image-300-dpi.jpg", 90, true);
Ability to rotate and flip image added:
var image = new KalikoImage("image.jpg"); image.RotateFlip(RotateFlipType.Rotate90FlipNone);
Access to bitmap data
It's now possible to access the underlaying
Bitmapobject directly by calling
var bmp = image.GetAsBitmap();
In order to add a layer of security the Kaliko NuGet-repository now has a SSL-certificate and is reached at https://nuget.kaliko.com/
The version 1.1.1 is a minor update that fixes a couple of issues.
Among improvements and bug fixes there's a couple of new features in Kaliko CMS version 1.1.0.
New tutorial on how to get started developing using Kaliko CMS and ASP.NET MVC: