Class ImageVectorizer

Class ImageVectorizer

Tên không gian: Aspose.Svg.ImageVectorization Tổng hợp: Aspose.SVG.dll (25.5.0)

Đây là lớp ImageVectorizer vectorizes hình ảnh raster như PNG, JPG, GIF, BMP và vv… và trả về SVGDocument. Dưới vectorization chúng ta có nghĩa là quá trình cắt giảm bitmaps vào các hình dạng địa phương được tạo thành từ các yếu tố đường và được lưu trữ như SVG.

[ComVisible(true)]
public class ImageVectorizer

Inheritance

object ImageVectorizer

Thành viên thừa kế

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

ImageVectorizer()

Bắt đầu một trường hợp mới của lớp Aspose.Svg.ImageVectorization.Imagevectorizer.

public ImageVectorizer()

ImageVectorizer(ImageVectorizerConfiguration)

Bắt đầu một trường hợp mới của lớp Aspose.Svg.ImageVectorization.Imagevectorizer.

public ImageVectorizer(ImageVectorizerConfiguration configuration)

Parameters

configuration ImageVectorizerConfiguration

cấu hình .

Properties

Configuration

Định cấu hình các phương pháp và tùy chọn vectorization hình ảnh

public ImageVectorizerConfiguration Configuration { get; set; }

Giá trị bất động sản

ImageVectorizerConfiguration

Methods

Vectorize(String)

Vectorizes hình ảnh raster từ tệp cụ thể.

public SVGDocument Vectorize(string imageFile)

Parameters

imageFile string

Đường đến file hình ảnh.

Returns

SVGDocument

Tài liệu SVG

Vectorize(Stream)

Vectorizes hình ảnh raster từ dòng cụ thể.

public SVGDocument Vectorize(Stream imageStream)

Parameters

imageStream Stream

dòng với hình ảnh.

Returns

SVGDocument

Tài liệu SVG

 Tiếng Việt