Posts

Showing posts from April, 2015

Featured Post

Smart Product designer

Image
download and purchase link: https://alkanyx.com/item/49/Smart+Product+designer

Live preview : http://smartproductdesigner.000webhostapp.com/

Smart Product Designer is a  tool to create your own product and get directly from your website. It is well documented, very easy to customize and use. It is build using most advance technologies including javascript, jQuery and html5.
Features Choose different product from collectionAdd custom texts to product.Change text colorChange the size and font of the TextLet the user drag, move or remove elementsAdd images to product selected from art gallery or browse it from systemDesign both frontside and back-sideShows preview while designingDownload designVery easy to customize and useHere is the purchase link : https://alkanyx.com/item/49/Smart+Product+designer

Create Thumbnail of Image using C#

Thumbnail is the reduced sized image of the given image. We can use thumbnail where we need to display large number of images. Using  GetThumbnailImage method we can create thumbnail for any give image.

The basic syntax used to create thumbnail using C# is -

Image img = Image1.GetThumbnailImage(thumbnail.Height, thumbnail.Width, Image.GetThumbnailImageAbort callback, IntPtr callbackData)


Here is the example -

Bitmap testimage = (Bitmap)TestApplication.Properties.Resources.testimage.GetThumbnailImage(450,550, null, IntPtr.Zero);