Ejemplo n.º 1
0
 private static void DrawSourceToDestination(List <PageImage> source, List <PageImage> destination)
 {
     ImageConverter.DrawSourceToDestination(source, destination, ImageUtility.InterpolationMode);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new PageImageList containing pages that have a fax geometry.
 /// </summary>
 /// <param name="pages">The PageImageList to alter.</param>
 /// <param name="quality">The Fax Quality.  Default is Low.</param>
 /// <param name="paperSize">The Paper size.  Default is Auto.</param>
 /// <returns>The new PageImageList (always with 32bpp pixel format)</returns>
 private static List <PageImage> ConvertToFaxGeometry(List <PageImage> pages, FaxQuality quality, PaperSize paperSize)
 {
     return(ImageConverter.ConvertToFaxGeometry(pages, quality, paperSize, ImageUtility.InterpolationMode));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a new PageImageList containing pages with the new pixel format.  The
 /// source PageImageList is not altered.
 /// </summary>
 /// <param name="pages">The PageImageList to alter.</param>
 /// <param name="pixelFormat">The pixel format to use.</param>
 /// <returns>The new PageImageList.</returns>
 private static List <PageImage> ConvertPixelFormat(List <PageImage> pages, PixelFormat pixelFormat)
 {
     return(ImageConverter.ConvertPixelFormat(pages, pixelFormat, 500));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Creates a new PageImageList containing pages that have a fax geometry.
 /// </summary>
 /// <param name="pages">The PageImageList to alter.</param>
 /// <param name="quality">The Fax Quality.  Default is Low.</param>
 /// <returns>The new PageImageList (always with 32bpp pixel format)</returns>
 private static List <PageImage> ConvertToFaxGeometry(List <PageImage> pages, FaxQuality quality = FaxQuality.Normal)
 {
     return(ImageConverter.ConvertToFaxGeometry(pages, quality, ImageConverter.GetBestFitPaperSizeForList(pages, PaperSize.Auto)));
 }
Ejemplo n.º 5
0
        public static List <PageImage> ConvertToFaxPageImageList(List <PageImage> pages, FaxQuality quality, PaperSize paperSize)
        {
            ImageOperationResult result = new ImageOperationResult();

            return(ImageConverter.ConvertToFaxablePageImageList(pages, quality, paperSize, result));
        }