LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Jeff Lowrey Date: Fri Mar 21 15:59:42 2003 Subject: Re: [MacPerl-Toolbox] strip the resource fork
At 11:33 PM +0100 3/21/03, Bart Lateur wrote: >A quick question... what's a simple, proper way to strip the resource >fork from files? In this case, it's all JPEG files, where Photoshop >attached an icon to. > >I'm pretty sure something involving Posix::open with use of the >Fcntl::O_RSRC flag could help... (see Mac::Conversions, on CPAN), but >details are still vague to me, and I want to make sure the resource fork >is completely gone, not just empty. Just use normal file operations to stream the data fork into a new file. -jeff lowrey
| Navigate in group perl.macperl.toolbox at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |