Extracting PICT resources

Mark Smith mark at maseurope.net
Tue May 2 19:34:25 EDT 2006


Sorry, I should have said that  getResources(pFilePath,"PICT")   
should return a list af all the PICT resources in a file, and then  
you can loop through the list using getResource (or copyResource) to  
extract them.

Best,

Mark

On 2 May 2006, at 23:59, Devin Asay wrote:

> I'm converting an old Hypercard app to Revolution. That app used  
> PICT resources in stacks to store images. There are hundreds of  
> them. Before I start doing them one by one in Photoshop, does  
> anyone know whether I could write a rev stack to automate this?  
> I've looked at the commands that work with Mac Classic resource  
> forks, but I don't know enough about how they're structured to try  
> to extract just the PICT resources. Has anyone tried anything like  
> this? Failing that, is there existing software that does this? I've  
> tried GraphicConverter, which purports to do batch conversions, but  
> I couldn't make it work with PICT resources.
>
> TIA.
>
> Devin
>
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list