Solved

getting pixels from a PICT file

Posted on 1998-04-24
2
196 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C++ BOOL WINAPI ReadFile fails on windows 10 when reading from USB cable 9 378
List out all word 7 259
modThree challenge 4 79
Way to decrease size of apk file 9 43
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now