Created
October 3, 2017 15:47
-
-
Save mesutd0nmez/191f3afce98722ca6ab2e03d0e84a6aa to your computer and use it in GitHub Desktop.
Thumpnail olarak resim kaydetme kodu.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Image image = Image.FromFile(fileName); | |
Image thumb = image.GetThumbnailImage(120, 120, ()=>false, IntPtr.Zero); | |
thumb.Save(Path.ChangeExtension(fileName, "thumb")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment