Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reducing the bit depth of a picture



On Mar 26, 2007, at 05:30 AM, Michael McLaughlin wrote:

I have an app, targeting OS 10.4+, which creates graphs and saves them as
either PNG or EPS. The graphs are mathematical plots for which an image
depth of 8 bits is sufficient.


Creating the PNG is straightforward using

HIView --> CGImage --> QT --> PNG  (file size typically 28K)

The EPS is generated "manually" by the program and, by itself, gives
essentially perfect printouts with a filesize of 4K or 8K. However, this
file requires a preview so that, when inserted into MS Word, the user will
have something to look at (besides a rectangle). I have always done this
using a PICT resource (#256) which Word recognizes.

This is kinda not what your asking, but have you tried saving your images as PDF instead (or in addition to?) EPS and see what comes out there? The file size should be comparable between the two and PDF is generally rendered directly by applications instead of using a preview.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Reducing the bit depth of a picture (From: Michael McLaughlin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.