VintaSoft Imaging .NET SDK and Plug-ins Discussions
Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.
Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions
i'm running into the same problem, using the image collection of an ImageViewer-control:Could you send us a small working project which demonstrates your problem? If yes, please send your project to support@vintasoft.com.
...
ImageCollection images = new ImageCollection();
images.Add(@"c:\test\test.tif", false);
images[0].Rotate(90);
Vintasoft.Imaging.Codecs.Encoders.TiffEncoder teTest =
new Vintasoft.Imaging.Codecs.Encoders.TiffEncoder();
teTest.SaveAndSwitchSource = true;
images.SaveSync(@"c:\test\test.tif", teTest);
this.imageViewer1.Images.AddRange(images.ToArray());
Vintasoft.Imaging.Codecs.Encoders.TiffEncoder teTest; MemoryStream ms = new MemoryStream(File.ReadAllBytes(@"c:\test\test.tif")); this.imageViewer1.Images.Add(ms, true); this.imageViewer1.Images[0].Rotate(90); teTest = new Vintasoft.Imaging.Codecs.Encoders.TiffEncoder(); teTest.SaveAndSwitchSource = true; this.imageViewer1.Images.SaveSync(@"c:\test\test.tif", teTest);
What is your task?Simple, build a picture viewer with thumbnail-view, where the user can rotate the currently viewed page and save it back to the file.