tags:

views:

164

answers:

2

Does anyone know of a .Net library for saving or converting an image to the Mac PCT/PICT file format?

I can save a JPG to PCT/PICT format in Photoshop; and I see this LeadTools library for $995 dollars, but would like to spend less money than that for the simple convert. I don't need all the other features this costly library supports. 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.

Thanks!

+1  A: 

Other than writing your own exporter, you may be able to use ImageMagick's QuickDraw PICT support.

I have seen their API used successfully from P/Invoke and COM; there is an example on CodeProject I just found that uses it from VB.NET.

If it helps, here is the file format for PICT. PICT v1.0 is substantially out of date (I believe it was deprecated sometime in the 90s). Inside Macintosh also has some details on the PICT v2.0 format, and I seem to remember hearing something about JPEG encoding in PICT.

ravuya
A: 

Try this http://www.imagemagick.org/

It is a C++ lib, but they have .NET wrapper ImageMagicNET

Bogdan_Ch