PSD को C# के माध्यम से GIF में कनवर्ट करें
GIF सहित रास्टर छवियों के लिए PSD और PSB रूपांतरण के लिए .NET फोटोशॉप एपीआई
GIF के रूप में PSD की उच्च गुणवत्ता वाली रेंडरिंग
1। PSD को इसके साथ लोड करें छवि. लोड तरीका 1। का एक उदाहरण बनाएं GIF विकल्प वर्ग 1। कॉल करें छवि. सेव करें तरीका 1। GifOptions का आउटपुट फ़ाइल नाम और ऑब्जेक्ट पास करें
.NET Photoshop API के साथ शुरुआत करें
कमांड लाइन से इस रूप में इंस्टॉल करें nuget install Aspose.PSD
या विजुअल स्टूडियो के पैकेज मैनेजर कंसोल के माध्यम से Install-Package Aspose.PSD
.
Alternatively, get the offline MSI installer or DLLs in a ZIP file from डाउनलोड समूह .
.NET C# कोड PSD से GIF रूपांतरण के लिए
PSD What is PSD File Format?
PSD, Photoshop Document, represents Adobe Photoshop’s native file format used for graphics designing and development. PSD files may include image layers, adjustment layers, layer masks, annotations, file information, keywords and other Photoshop-specific elements. Photoshop files have default extension as .PSD and has a maximum height and width of 30,000 pixels, and a length limit of two gigabytes.
Read MoreGIF What is GIF File Format?
A GIF or Graphical Interchange Format is a type of highly compressed image. Owned by Unisys, GIF uses the LZW compression algorithm that does not degrade the image quality. For each image GIF typically allow up to 8 bits per pixel and up to 256 colours are allowed across the image. In contrast to a JPEG image, which can display up to 16 million colours and fairly touches the limits of the human eye. Back when the internet emerged, GIFs remained the best choice because they required low bandwidth and compatible for the graphics that consume solid areas of colour. An animated GIF combines numerous images or frames into a single file and displays them in a sequence to generate an animated clip or a short video. The colour limitations are up to 256 for each frame and are likely to be the least suitable for reproducing other images and photographs with colour gradient.
Read More