TiffOptions Class |
Namespace: Aspose.PSD.ImageOptions
The TiffOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | TiffOptions(TiffDataType) |
Initializes a new instance of the TiffOptions class.
|
![]() | TiffOptions(TiffExpectedFormat) |
Initializes a new instance of the TiffOptions class. By default little endian convention is used.
|
![]() | TiffOptions(TiffOptions) |
Initializes a new instance of the TiffOptions class.
|
![]() | TiffOptions(TiffExpectedFormat, TiffByteOrder) |
Initializes a new instance of the TiffOptions class.
|
Name | Description | |
---|---|---|
![]() | AlphaStorage |
Gets or sets the alpha storage option. Options other than Unspecified
are used when there are more than 3 SamplesPerPixel defined.
|
![]() | Artist |
Gets or sets the artist.
|
![]() | BitsPerPixel |
Gets the bits per pixel.
|
![]() | BitsPerSample |
Gets or sets the bits per sample.
|
![]() | BufferSizeHint |
Gets or sets the buffer size hint which is defined max allowed size for all internal buffers.
(Inherited from ImageOptionsBase.) |
![]() | ByteOrder |
Gets or sets a value indicating the tiff byte order.
|
![]() | ColorMap |
Gets or sets the color map.
|
![]() | CompressedQuality |
Gets or sets compressed image quality.
Used with the Jpeg compression.
|
![]() | Compression |
Gets or sets the compression.
|
![]() | Copyright |
Gets or sets the copyright.
|
![]() | DateTime |
Gets or sets the date and time.
|
![]() | DefaultMemoryAllocationLimit | Obsolete.
Gets or sets the default memory allocation limit.
|
![]() ![]() | DefaultReplacementFont |
Gets or sets the default replacement font (font that will be used to draw text when exporting to raster, if existing layer font in PSD file is not presented in system).
To take proper name of default font can be used next code snippet:
System.Drawing.Text.InstalledFontCollection col = new System.Drawing.Text.InstalledFontCollection();
System.Drawing.FontFamily[] families = col.Families;
string defaultFontName = families[0].Name;
PsdLoadOptions psdLoadOptions = new PsdLoadOptions() { DefaultReplacementFont = defaultFontName });
(Inherited from ImageOptionsBase.) |
![]() | Disposed |
Gets a value indicating whether this instance is disposed.
(Inherited from DisposableObject.) |
![]() | DocumentName |
Gets or sets the name of the document.
|
![]() | ExifIfd |
Gets or sets the pointer to EXIF IFD.
|
![]() | FaxT4Options |
Gets or sets the fax t4 options.
|
![]() | FileStandard |
Gets or sets the TIFF file standard.
|
![]() | FillOrder |
Gets or sets the byte bits fill order.
|
![]() | FullFrame |
Gets or sets a value indicating whether [full frame].
(Inherited from ImageOptionsBase.) |
![]() | HalfToneHints |
Gets or sets the halftone hints.
|
![]() | IccProfile |
Gets or sets the Icc profile stream.
|
![]() | ImageDescription |
Gets or sets the image description.
|
![]() | ImageLength |
Gets or sets the image length.
|
![]() | ImageWidth |
Gets or sets the image width.
|
![]() | InkNames |
Gets or sets the ink names.
|
![]() | IsExtraSamplesPresent |
Gets a value indicating whether the extra samples is present.
|
![]() | IsTiled |
Gets a value indicating whether image is tiled.
|
![]() | IsValid |
Gets a value indicating whether the TiffOptions have been properly configured. Use Validate method as to find the failure reason.
|
![]() | MaxSampleValue |
Gets or sets the max sample value.
|
![]() | MinSampleValue |
Gets or sets the min sample value.
|
![]() | MultiPageOptions |
The multipage options
(Inherited from ImageOptionsBase.) |
![]() | Orientation |
Gets or sets the orientation.
|
![]() | PageName |
Gets or sets the page name.
|
![]() | PageNumber |
Gets or sets the page number tag.
|
![]() | Palette |
Gets or sets the color palette.
(Overrides ImageOptionsBasePalette.) |
![]() | Photometric |
Gets or sets the photometric.
|
![]() | PlanarConfiguration |
Gets or sets the planar configuration.
|
![]() | Predictor |
Gets or sets the predictor for LZW compression.
|
![]() | PremultiplyComponents |
Gets or sets a value indicating whether components must be premultiplied.
|
![]() | ProgressEventHandler |
Gets or sets the progress event handler.
(Inherited from ImageOptionsBase.) |
![]() | ResolutionSettings |
Gets or sets the resolution settings.
(Overrides ImageOptionsBaseResolutionSettings.) |
![]() | ResolutionUnit |
Gets or sets the resolution unit.
|
![]() | RowsPerStrip |
Gets or sets the rows per strip.
|
![]() | SampleFormat |
Gets or sets the sample format.
|
![]() | SamplesPerPixel |
Gets the samples per pixel. To change this property value use the BitsPerSample property setter.
|
![]() | ScannerManufacturer |
Gets or sets the scanner manufacturer.
|
![]() | ScannerModel |
Gets or sets the scanner model.
|
![]() | SmaxSampleValue |
Gets or sets the max sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).
|
![]() | SminSampleValue |
Gets or sets the min sample value. The value has a field type which best matches the sample data (Byte, Short or Long type).
|
![]() | SoftwareType |
Gets or sets the software type.
|
![]() | Source |
Gets or sets the source to create image in.
(Inherited from ImageOptionsBase.) |
![]() | StripByteCounts |
Gets or sets the strip byte counts.
|
![]() | StripOffsets |
Gets or sets the strip offsets.
|
![]() | SubFileType |
Gets or sets a general indication of the kind of data contained in this subfile.
|
![]() | Tags |
Gets or sets the tags.
|
![]() | TargetPrinter |
Gets or sets the target printer.
|
![]() | Threshholding |
Gets or sets the threshholding.
|
![]() | TileByteCounts |
Gets or sets the tile byte counts.
|
![]() | TileLength |
Gets ot sets tile length.
|
![]() | TileOffsets |
Gets or sets the tile offsets.
|
![]() | TileWidth |
Gets ot sets tile width.
|
![]() | TotalPages |
Gets the total pages.
|
![]() | ValidTagCount |
Gets the valid tag count. This is not the total tags count but the number of tags which may be preserved.
|
![]() | VectorRasterizationOptions |
Gets or sets the vector rasterization options.
(Inherited from ImageOptionsBase.) |
![]() | XmpData |
Gets or sets the XMP metadata container.
(Overrides ImageOptionsBaseXmpData.) |
![]() | XPAuthor |
Gets or sets image author, which used by Windows Explorer.
|
![]() | XPComment |
Gets or sets comment on image, which used by Windows Explorer.
|
![]() | XPKeywords |
Gets or sets subject image, which used by Windows Explorer.
|
![]() | Xposition |
Gets or sets the x position.
|
![]() | XPSubject |
Gets or sets information about image, which used by Windows Explorer.
|
![]() | XPTitle |
Gets or sets information about image, which used by Windows Explorer.
|
![]() | Xresolution |
Gets or sets the x resolution.
|
![]() | YCbCrCoefficients |
Gets or sets the YCbCrCoefficients.
|
![]() | YCbCrSubsampling |
Gets or sets the subsampling factors for YCbCr photometric.
|
![]() | Yposition |
Gets or sets the y position.
|
![]() | Yresolution |
Gets or sets the y resolution.
|
Name | Description | |
---|---|---|
![]() | AddTag |
Adds a new tag.
|
![]() | AddTags |
Adds the tags.
|
![]() | Clone |
Clones this instance.
(Inherited from ImageOptionsBase.) |
![]() | Dispose |
Disposes the current instance.
(Inherited from DisposableObject.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetTagByType |
Gets the instance of the tag by type.
|
![]() | GetType | (Inherited from Object.) |
![]() ![]() | GetValidTagsCount |
Gets the valid tags count.
|
![]() | IsTagPresent |
Determines whether tag is present in the options or not.
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ReleaseManagedResources |
Releases the managed resources. Make sure no unmanaged resources are released here, since they may have been already released.
(Inherited from ImageOptionsBase.) |
![]() | ReleaseUnmanagedResources |
Releases the unmanaged resources. Make sure no managed resources are released here, since they may have been already released.
(Inherited from DisposableObject.) |
![]() | RemoveTag |
Removes the tag.
|
![]() | ToString | (Inherited from Object.) |
![]() | Validate |
Validates if options have valid combination of tags
|
![]() | VerifyNotDisposed |
Verifies that the current instance is not disposed.
(Inherited from DisposableObject.) |
Name | Description | |
---|---|---|
![]() | xmpData |
XMP metadata of image.
(Inherited from ImageOptionsBase.) |
[C#] //Load an existing image in an instance of Image class using (Aspose.PSD.Image image = Aspose.PSD.Image.Load(@"C:\temp\image.psd")) { //Export to BMP file format using the default options image.Save(@"C:\temp\output.bmp", new Aspose.PSD.ImageOptions.BmpOptions()); //Export to JPEG file format using the default options image.Save(@"C:\temp\output.jpeg", new Aspose.PSD.ImageOptions.JpegOptions()); //Export to JPEG 2000 file format using the default options image.Save(@"C:\temp\output.jp2", new Aspose.PSD.ImageOptions.Jpeg2000Options()); //Export to PNG file format using the default options image.Save(@"C:\temp\output.png", new Aspose.PSD.ImageOptions.PngOptions()); //Export to TIFF file format using the default options image.Save(@"c:\temp\output.tiff", new Aspose.PSD.ImageOptions.TiffOptions(Aspose.PSD.FileFormats.Tiff.Enums.TiffExpectedFormat.Default)); }
[C#] //Create an instance of Image using (Aspose.PSD.Image image = new Aspose.PSD.FileFormats.Psd.PsdImage(500, 500)) { //Create and initialize an instance of Graphics class Aspose.PSD.Graphics graphics = new Aspose.PSD.Graphics(image); //Clear Graphics surface graphics.Clear(Color.Wheat); //Create an instance of GraphicsPath class Aspose.PSD.GraphicsPath graphicspath = new Aspose.PSD.GraphicsPath(); //Create an instance of Figure class Aspose.PSD.Figure figure = new Aspose.PSD.Figure(); //Add Shapes to Figure object figure.AddShape(new Aspose.PSD.Shapes.RectangleShape(new RectangleF(10, 10, 300, 300))); figure.AddShape(new Aspose.PSD.Shapes.EllipseShape(new RectangleF(50, 50, 300, 300))); figure.AddShape(new Aspose.PSD.Shapes.PieShape(new Rectangle(new Point(250, 250), new Size(200, 200)), 0, 45)); //Add Figure object to GraphicsPath graphicspath.AddFigure(figure); //Draw path with Pen object of color Black graphics.DrawPath(new Pen(Aspose.PSD.Color.Black, 2), graphicspath); //Create an instance of TiffOptions and set its various properties Aspose.PSD.ImageOptions.TiffOptions tiffOptions = new Aspose.PSD.ImageOptions.TiffOptions(Aspose.PSD.FileFormats.Tiff.Enums.TiffExpectedFormat.Default); // save all changes. image.Save("C:\\temp\\output.tiff", tiffOptions); }