简体   繁体   English

.Net库,用于将图像保存为Mac的PICT / PCT文件格式

[英].Net library for saving an image to Mac's PICT/PCT file format

Does anyone know of a .Net library for saving or converting an image to the Mac PCT/PICT file format? 有谁知道用于保存图像或将图像转换为Mac PCT / PICT文件格式的.Net库?

I can save a JPG to PCT/PICT format in Photoshop; 我可以在Photoshop中将JPG保存为PCT / PICT格式; and I see this LeadTools library for $995 dollars, but would like to spend less money than that for the simple convert. 而且我看到这个LeadTools库的价格为995美元,但与简单转换相比,它想花的钱更少。 I don't need all the other features this costly library supports. 我不需要此昂贵的库支持的所有其他功能。 http://www.leadtools.com/SDK/Raster/Formats/Raster-Format-MACPICT.htm http://www.leadtools.com/SDK/Raster/Formats/Raster-Format-MACPICT.htm

A client claims that need JPG images saved in PIC/PICT file format for their SASI yearbook Mac software. 一位客户声称需要为其SASI年鉴Mac软件以PIC / PICT文件格式保存的JPG图像。

Thanks! 谢谢!

Other than writing your own exporter, you may be able to use ImageMagick's QuickDraw PICT support . 除了编写自己的导出程序外,您还可以使用ImageMagick的QuickDraw PICT支持

I have seen their API used successfully from P/Invoke and COM; 我已经从P / Invoke和COM看到成功使用了它们的API there is an example on CodeProject I just found that uses it from VB.NET. 我刚刚发现在CodeProject上有一个使用VB.NET的示例

If it helps, here is the file format for PICT . 如果有帮助,这里是PICT的文件格式 PICT v1.0 is substantially out of date (I believe it was deprecated sometime in the 90s). PICT v1.0实质上已过时(我相信它在90年代的某个时候已被弃用)。 Inside Macintosh also has some details on the PICT v2.0 format, and I seem to remember hearing something about JPEG encoding in PICT. Macintosh里面还包含有关PICT v2.0格式的一些详细信息,我似乎还记得曾听说过有关PICT中JPEG编码的内容。

Try this http://www.imagemagick.org/ 试试这个http://www.imagemagick.org/

It is a C++ lib, but they have .NET wrapper ImageMagicNET 这是一个C ++库,但是它们具有.NET包装器ImageMagicNET

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM