PICT to JPG image format

Published 14 September 04 02:50 AM

I encountered another interesting question.  This individual is using an application that has PICT formatted pictures stored in a database Image field.  This data is then brought out of the database and put in an image control.  The problem is that this app that is being written cannot use PICT images and therefore PICT needs to be able to be converted programmatically.  I found that there are many apps including the ones at 2jpeg.com but they are not components that can be used inside code.  It is a console application (command line app) that can run without a UI but is an app that must be launced.

I found LeadTools products, but then found out that the .NET Vector Imaging product was 2000.00.  So that puts it out of reach for someone developing an app that is for one customer or friend or whatever.

I was a little disappointed on how little conversion code there was for things like this as we get more standardized on coding techniques, etc. there is still a gap in the imaging front between platforms (PICT = Mac, JPG = Windows, etc.)

Just an interesting day here at BorCon. 

Comments

# Marco Nova said on September 14, 2004 5:34 AM:
I believe you should use QuickTime to parse the pict image and then you can get a bitmap you can convert to whatever format you like.

regards,

- mn
# Jeff Parker said on September 14, 2004 6:49 AM:
http://www.asp101.com/forum/display_message.asp?mid=198767

I made this little class and posted it quite some time ago on asp101, convert any image at all to jpg and scale down, could be easily modified for what your wanting to do. This is all done in C#.net using the System.Drawing Namespace.
# Chris Haas said on September 14, 2004 7:45 AM:
XnView is a great free image manipulation library that's pretty easy to wrap managed code around:
http://perso.wanadoo.fr/pierre.g/xnview/engfl.html
# Love that ASP NET and SQL Server PICT to JPG image format | fix my credit said on June 16, 2009 9:24 PM:

PingBack from http://fixmycrediteasily.info/story.php?id=15525

Anonymous comments are disabled

This Blog

Syndication

Page view tracker