**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
[com.aspose.page.plugins.IPlugin](../../com.aspose.page.plugins/iplugin)
```
public class PsConverter implements IPlugin
```

PsConverter eklentisini temsil eder.

Bu örnek, PS/EPS dosyasını PDF belgesine nasıl dönüştüreceğinizi gösterir.

// PsConverter oluştur PsConverter converter = new PsConverter(); // çıktı veri tipini dosya olarak ayarlamak için PsConverterToPdfOptions nesnesi oluştur PsConverterToPdfOptions opt = new PsConverterToPdfOptions(); // giriş dosya yolunu ekle opt.addDataSource(new FileDataSource(inputPath)); // çıktı dosya yolunu ayarla opt.addSaveDataSource(new FileDataSource(outputPath)); // dönüşüm sürecini başlat ResultContainer results = converter.process(opt);

Bu örnek, PS/EPS dosyasını dosya çıktısı ile görüntüye nasıl dönüştüreceğinizi gösterir.

// PsConverter oluştur PsConverter converter = new PsConverter(); // JPEG hedef görüntü formatı ile PsConverterToImageOptions oluştur. Oluşan görüntünün varsayılan formatı PNG'dir. // Ayrıca oluşan görüntünün boyutunu, çözünürlüğünü, yumuşatma modunu ve JPEG sonuç görüntü formatı için JPEG kalite seviyesini ayarlayabiliriz. PsConverterToImageOptions opt = new PsConverterToImageOptions(ImageFormat.Jpeg); // giriş dosya yolunu ekle opt.addDataSource(new FileDataSource(inputPath)); // giriş PS dosyası çok sayfalı ise sonuçlar şu adla bir dizi görüntü dosyası olacaktır: [\"outputPath\" uzantısız][sayfaNumarası 0'dan başlar].[\"outputPath\"'tan uzantı] opt.addSaveDataSource(new FileDataSource(outputPath)); // dönüşüm sürecini başlat converter.process(opt);

Bu örnek, PS/EPS dosyasını bayt dizileri çıktısı ile görüntüye nasıl dönüştüreceğinizi gösterir.

Bayt dizileri çıktı veri kaynağında (byte[][]) her bir bayt dizisi bir sayfanın görüntüsünü içerir. Bu nedenle, tek sayfalı belgeler için sonuç [1][] dizisi, çok sayfalı belgeler için ise sonuç [giriş PS belgesindeki sayfa sayısı][] dizisi içerir. // PsConverter oluştur PsConverter converter = new PsConverter(); // JPEG hedef görüntü formatı ile PsConverterToImageOptions oluştur. Oluşan görüntünün varsayılan formatı PNG'dir. // Ayrıca oluşan görüntünün boyutunu, çözünürlüğünü, yumuşatma modunu ve JPEG sonuç görüntü formatı için JPEG kalite seviyesini ayarlayabiliriz. PsConverterToImageOptions opt = new PsConverterToImageOptions(ImageFormat.Jpeg); // giriş dosya yolunu ekle opt.addDataSource(new FileDataSource(inputPath)); // giriş PS dosyası çok sayfalı ise sonuçlar şu adla bir dizi görüntü dosyası olacaktır: [\"outputPath\" uzantısız][sayfaNumarası 0'dan başlar].[\"outputPath\"'tan uzantı] opt.addSaveDataSource(new ByteArrayDataSource()); // dönüşüm sürecini başlat converter.process(opt); // oluşan bayt dizilerini al byte[][] imagesBytes = (byte [][]) ((ByteArrayResult)results.ResultCollection[0]).Data;
## Yapıcılar

| Yapıcı | Açıklama |
| --- | --- |
| [PsConverter()](#PsConverter--) |  |
## Yöntemler

| Yöntem | Açıklama |
| --- | --- |
| [dispose()](#dispose--) | IDisposable uygulaması. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [process(IPluginOptions options)](#process-com.aspose.page.plugins.IPluginOptions-) | Belirtilen parametrelerle PsConverter işleme başlatır. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### PsConverter() {#PsConverter--}
```
public PsConverter()
```


### dispose() {#dispose--}
```
public final void dispose()
```


IDisposable uygulaması.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parametre | Tür | Açıklama |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### process(IPluginOptions options) {#process-com.aspose.page.plugins.IPluginOptions-}
```
public final ResultContainer process(IPluginOptions options)
```


Belirtilen parametrelerle PsConverter işleme başlatır.

**Parameters:**
| Parametre | Tür | Açıklama |
| --- | --- | --- |
| options | [IPluginOptions](../../com.aspose.page.plugins/ipluginoptions) | PsConverter için talimatları içeren bir seçenek nesnesi. |

**Returns:**
[ResultContainer](../../com.aspose.page.plugins/resultcontainer) - An ResultContainer object containing the result of the operation.
### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parametre | Tür | Açıklama |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parametre | Tür | Açıklama |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

