Esempio n. 1
0
        /// <summary>
        /// Conversions and export basics examples
        /// </summary>
        private static void ConversionAndExportBasics()
        {
            Console.WriteLine("Starting Conversion and Export Basics Examples");
            PSDToPDFWithClippingMask.Run();
            PSDToPDFWithAdjustmentLayers.Run();
            ExportImageToPSD.Run();
            ExportPSDLayerToRasterImage.Run();
            ImportImageToPSDLayer.Run();
            LoadImageToPSD.Run();
            PSDToPSB.Run();
            PSDToPDF.Run();
            PSDToPDFWithSelectableText.Run();
            ExportToMultiPageTiff.Run();
            TiffOptionsConfiguration.Run();
            TIFFwithDeflateCompression.Run();
            TIFFwithAdobeDeflateCompression.Run();
            CompressingTiff.Run();
            Saving16BitGrayscalePsdImage.Run();
            Saving16BitGrayscalePsdTo8BitGrayscale.Run();
            Saving16BitGrayscalePsdTo8BitRgb.Run();
            ConvertPsdToJpg.Run();
            ConvertPsdToPng.Run();
            ConvertPsdToPdf.Run();

            GIFImageLayersToTIFF.Run();
            CMYKPSDtoCMYKTiff.Run();
            ConversionPSDToGrayscaleRgbCmyk.Run();

            // Png export abilities
            SpecifyTransparencyOfPngOnExport.Run();
            SettingResolutionOfPngOnExport.Run();
            SetPngCompressingOnExport.Run();
            SpecifyBitDepthOnPng.Run();
            ApplyFilterMethodOnPng.Run();
            ChangeBackgroundColorOfPng.Run();
        }
Esempio n. 2
0
        /// <summary>
        /// Runs the test modifying and converting images.
        /// </summary>
        private static void RunTestModifyingAndConvertingImages()
        {
            //// =====================================================
            //// =====================================================
            ////            Modifying And Converting Images
            //// =====================================================
            //// =====================================================

            Console.WriteLine("Running modifying and converting images tests:");
            SupportOfFullFrameGif.Run();
            SupportExtractingPathsFromTiff.Run();
            ExportToHtml5Canvas.Run();
            CompressedVectorFormats.Run();
            ExportTiffBatchMode.Run();
            ExportToDicom.Run();
            CroppingWMFFileWhileConvertingtoPNG.Run();
            ConvertingSVGToRasterImages.Run();
            AddWatermarkToImage.Run();
            AddFramesToTIFFImage.Run();
            AdjustBrightness.Run();
            AdjustContrast.Run();
            AdjustGamma.Run();
            PNGtoPDF.Run();
            BMPToPDF.Run();
            SupportForJPEG.Run();
            RasterImageToPDF.Run();
            SupportForEPSFormat.Run();
            AlignHorizontalAndVeticalResolutionsOfImage.Run();
            ApplyGaussWienerFilter.Run();
            ApplyGaussWienerFilterForColoredImage.Run();
            ApplyingMotionWienerFilter.Run();
            ApplyMedianAndWienerFilters.Run();
            BinarizationWithFixedThreshold.Run();
            BinarizationWithOtsuThreshold.Run();
            BlurAnImage.Run();
            Bradleythreshold.Run();
            ConvertingSVGToRasterImages.Run();
            CompressingTIFFImagesWithAdobeDeflateCompression.Run();
            CompressingTIFFImagesWithLZWAlgorithm.Run();
            ConcatTIFFImages.Run();
            ConcatenatingTIFFImagesfromStream.Run();
            ConcatenateTiffImagesHavingSeveralFrames.Run();
            ConvertGIFImageLayersToTIFF.Run();
            CreatingTIFFImageWithCompression.Run();
            CreateWMFMetaFileImage.Run();
            ConvertWMFMetaFileToSVG.Run();
            DitheringRasterImages.Run();
            ExpandOrCropAnImage.Run();
            ExtractTIFFFramesToBMPImageFormat.Run();
            ExportImageToDifferentFormats.Run();
            ExportImageToPSD.Run();
            Grayscaling.Run();
            ReadAndWriteXMPDataToImages.Run();
            ResizeImageWithResizeTypeEnumeration.Run();
            ResizingWithResizeTypeEnumeration.Run();
            RotatingImageOnSpecificAngle.Run();
            SavingEachFrameInOtherRasterImageFormat.Run();
            SavingRasterImageToTIFFWithCompression.Run();
            SimpleResizeImageProportionally.Run();
            SimpleResizing.Run();
            SplittingTiffFrames.Run();
            TiffDataRecovery.Run();
            TiffOptionsConfiguration.Run();
            ControllCacheReallocation.Run();
            AddDiagonalWatermarkToImage.Run();
            ColorConversionUsingICCProfiles.Run();
            ColorConversionUsingDefaultProfiles.Run();
            AddSignatureToImage.Run();
            ExportTextAsShape.Run();
            CreateEMFMetaFileImage.Run();
            ResizeWMFFile.Run();
            ConvertWMFToWebp.Run();
            ConvertWMFToPNG.Run();
            ConvertWMFToPDF.Run();
            GetLastModifiedDate.Run();
            SupportTiffDeflate.Run();
            ConvertImageWithGrayscale.Run();
            SupportOfDIB.Run();
            SupportOfTextRenderingHint.Run();
            SupportOfSmoothingMode.Run();
            CropWMFFile.Run();
            CropEMFFile.Run();
            SupportOfDPISettingsInPdfOptions.Run();
            CommonMultipageImageExample.Run();
        }