翻譯|使用教程|編輯:黃竹雯|2018-12-06 10:02:39.000|閱讀 299 次
概述:彩色映像和照片圖像處理工具包ImagXpress常見問題解答
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
ImagXpress是一組圖像處理庫,可將圖像處理添加到Windows應用程序中。此成像SDK通過借助圖像編輯,轉換,壓縮和顏色調整等功能,以及易于實現的代碼和全面的代碼示例可輕松添加圖像處理和操作到Windows應用程序。ImagXpress的優點:
在感受ImagXpress成像sdk強大功能的同時,難免會產生一些疑問,本文旨在為ImagXpress用戶收集和解答一些常見問題,供大家學習參考。
在Windows上:
對于任何其他操作系統,請使用FTP客戶端,例如FileZilla,使用上述FTP和登錄信息。成功登錄后,您可以將文件放入該文件夾中。
標記圖像文件格式(TIFF)廣泛流行,特別用于文檔成像。它可以支持多種壓縮類型:
可能的原因是源圖像具有矩形或不均勻的X和Y分辨率(例如:200 x 300 DPI)。當您將圖像傳遞給PrintPRO的一個打印功能時,它會根據其實際像素尺寸處理源內容。因此,對于具有不均勻分辨率值的圖像,它們可能會出現扭曲,即使在指定維持方面時也是如此。要解決此問題,請以這種方式調整傳入圖像內容的大小,使其處于平方分辨率(例如:300 x 300 DPI):
System.Drawing.Image picture = System.Drawing.Image.FromFile(samplePicture); Accusoft.ImagXpressSdk.ImageX scaleImage = Accusoft.ImagXpressSdk.ImageX.FromBitmap(ix, (System.Drawing.Bitmap)picture); Accusoft.ImagXpressSdk.Processor theProc = new Accusoft.ImagXpressSdk.Processor(ix, scaleImage); float bestResolution = 0; float scaleFactor = 0; float resNumerator = 0, resDenominator = 0; bestResolution = picture.HorizontalResolution; if(picture.HorizontalResolution > picture.VerticalResolution) { resNumerator = (float)picture.HorizontalResolution; resDenominator = (float)picture.VerticalResolution; bestResolution = picture.HorizontalResolution; scaleFactor = resNumerator / resDenominator; theProc.Resize(new System.Drawing.Size(picture.Width, (int)(picture.Height * scaleFactor)), Accusoft.ImagXpressSdk.ResizeType.Quality); } else if (picture.VerticalResolution > picture.HorizontalResolution) { resNumerator = (float)picture.VerticalResolution; resDenominator = (float)picture.HorizontalResolution; bestResolution = picture.VerticalResolution; scaleFactor = resNumerator / resDenominator; theProc.Resize(new System.Drawing.Size((int)(picture.Width * scaleFactor), picture.Height), Accusoft.ImagXpressSdk.ResizeType.Quality); } theProc.Image.Resolution.Units = System.Drawing.GraphicsUnit.Inch; theProc.Image.Resolution.Dimensions = new System.Drawing.SizeF(bestResolution, bestResolution); picture = theProc.Image.ToBitmap(true); ... //Other parameters to this function call would be provided by your application job.PrintImage(picture, new System.Drawing.PointF(startXPoint, startYPoint), new System.Drawing.SizeF(printWidth, printHeight), true);
您可以從產品的“Support File Formats”頁面查看支持哪些相機RAW格式:
更多問題集連載敬請關注~
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn