Solved

getting pixels from a PICT file

Posted on 1998-04-24
2
198 Views
Last Modified: 2013-12-26
i'm new to the macintosh!

i'm trying to get some pixel/bitmap info from a mac PICT file. so that i can save this as a windows :) bitmap or a JPEG etc.

how can i do this?

many thanks,

dave

personal reply to dgunthor@ubiquity.co.uk if desired
0
Comment
Question by:dgunthor
2 Comments
 
LVL 2

Accepted Solution

by:
WileyKat earned 50 total points
ID: 1291371
Well, all I can think of is load the PICT, draw it into a GWorld, and then use GetCPixel to retrieve each pixel, or access the buffer directly (NOT recommended).
0
 

Author Comment

by:dgunthor
ID: 1291372
thanks for the response. i've solved it now though! i drew the pict into a GWorld then you can get access to all the pixels as you said.

thanks anyway
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Add content to output file 4 71
deburging in oracle form 12 109
Smart Camera scanning and reading information 3 120
has77  challenge 9 96
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question