Převést PSB do formátu JPEG přes C#

.NET Photoshop API pro PSD a PSB Konverze na rastrové obrázky včetně JPEG

Vysoce kvalitní vykreslování PSB jako JPEG

  1. Načíst PSB pomocí Image.Načíst metoda
  2. Vytvořte instanci JPEGOptions třída
  3. Zavolejte Obrázek.Uložit metoda
  4. Předat název výstupního souboru a objekt JPEGOptions

Začínáme s rozhraním NET Photoshop API

Instalace z příkazového řádku jako nuget install Aspose.PSD nebo pomocí konzoly Správce balíčků aplikace Visual Studio s Install-Package Aspose.PSD.

Alternatively, get the offline MSI installer or DLLs in a ZIP file from ke stažení .

.NET C# kód pro konverzi PSB na JPEG

PSB What is PSB File Format?

Adobe photoshop saves files in two formats. Files having 30,000 by 30,000 pixels in size are saved with PSD extension and files larger than PSD upto 300,000 by 300,000 pixels are saved with PSB extension known as “Photoshop Big”. More specifically, PSB files can be as large as 4 EB (over 4.2 billion GB) with images that have a height and width of up to 300,000 pixels. PSDs, on the other hand, can be at maximum upto 2 GB and image dimensions of 30,000 pixels.

Read More

JPEG What is JPEG File Format?

A JPEG is a type of image format that is saved using the method of lossy compression. The output image, as result of compression, is a trade-off between storage size and image quality. Users can adjust the compression level to achieve the desired quality level while at the same time reduce the storage size. Image quality is negligibly affected if 10:1 compression is applied to the image.  The higher the compression value, the higher the degradation in image quality.

Read More

Other Conversion Options

PSB TO BMP (Bitmap Image File)
PSB TO GIF (Graphical Interchange Format)
PSB TO JP2 (JPEG 2000 Core Image)
PSB TO PDF (Portable Document Format)
PSB TO PNG (Portable Network Graphic)
PSB TO PSD (Photoshop Document)
PSB TO TIFF (Tagged Image File Format)