
Signature
"It's beyond my ken... and my Barbie, and all of my action figures."
In article
<2005012602084916807%exceptionsTakeThisOutDude@earthlinknet>,
> I just noticed how much space the Photoshop-applied icon and preview
> take up. Is there a way to strip these off of jpegs without having to
> open then and do a save-as? Thx.
There's a Classic Mac utility called GIF Prep 1.0 which strips the
resource fork off of any file dropped on it. Unfortunately it doesn't
work (at least for me) in Classic -- it hangs and must be force-quit --
but if your computer can boot up in OS 9 (or earlier down to 7.0) it
will work. BoxTop Software can no longer be found but GIF Prep can be
downloaded from
<ftp://sunsite.cnlab-switch.ch/mirror/info-mac/gst/grf/pshp/gif-prep-101.
hqx>
and perhaps elsewhere.
David

Signature
David Ryeburn
ryeburn@sfu.caz
To send e-mail, use "ca" instead of "caz".
Johan W. Elzenga - 26 Jan 2005 09:52 GMT
> In article
> <2005012602084916807%exceptionsTakeThisOutDude@earthlinknet>,
[quoted text clipped - 14 lines]
>
> and perhaps elsewhere.
Why would you want to do this in Classic? Obviously, there are similar
utilities for MacOS X. http://www.macupdate.com/info.php/id/9105 just to
name one.

Signature
Johan W. Elzenga johan<<at>>johanfoto.nl
Editor / Photographer http://www.johanfoto.nl/
In article
<2005012602084916807%exceptionsTakeThisOutDude@earthlinknet>,
> I just noticed how much space the Photoshop-applied icon and preview
> take up. Is there a way to strip these off of jpegs without having to
> open then and do a save-as? Thx.
If you are using Photoshop CS to create these jpegs, you can use
ImageReady (from the Photoshop "Save for Web" menu) to save them without
icons or previews.

Signature
If you *really* need to e-mail me, send it to:
usenet at hughesvideo dot com
> I just noticed how much space the Photoshop-applied icon and preview
> take up. Is there a way to strip these off of jpegs without having to
> open then and do a save-as? Thx.
If you're not afraid of the command line, you can consider this:
The cp command ignores the file's resource fork. The Finder icon lives
on the resource fork. So if you do this:
cp file_with_icon.jpg file_without_icon.jpg
...you'll strip the file of its icon (and its whole resource fork).
You can also use command line tools like exifiron (though exifiron
probably isn't installed on your Mac). exifiron removes thumbnail images
embedded in the jpeg file's exif data for further space saving.
You can also tell Photoshop not to put icons on image files in the first
place, in the 'Saving Files' preferences.

Signature
"I hear the rumors on the internets." -- George W. Bush
iStrain - 31 Jan 2005 23:13 GMT
>> I just noticed how much space the Photoshop-applied icon and preview
>> take up. Is there a way to strip these off of jpegs without having to
[quoted text clipped - 15 lines]
> You can also tell Photoshop not to put icons on image files in the first
> place, in the 'Saving Files' preferences.
Perfect! Thanks. But is the preview in the resource fork....? We'll
find out in a sec.
Waitaminute...the Finder getInfo shows a different size, but the shell
shows the same size. Is the Preview stored in the DS-Store? I thought
it was a Pshop thing...? Weird.

Signature
"It's beyond my ken... and my Barbie, and all of my action figures."
Paul Mitchum - 01 Feb 2005 01:50 GMT
> >> I just noticed how much space the Photoshop-applied icon and preview
> >> take up. Is there a way to strip these off of jpegs without having to
[quoted text clipped - 18 lines]
> Perfect! Thanks. But is the preview in the resource fork....? We'll find
> out in a sec.
The Finder preview is in the resource fork. There is very likely other
thumbnail preview included in the JPEG file itself, in the data fork.
That's why I suggested exifiron. It knows how to trim that preview out.
> Waitaminute...the Finder getInfo shows a different size, but the shell
> shows the same size. Is the Preview stored in the DS-Store? I thought it
> was a Pshop thing...? Weird.
ls doesn't know about resource forks, which is why it shows you the same
size when you type ls.
iStrain - 31 Jan 2005 23:16 GMT
>> I just noticed how much space the Photoshop-applied icon and preview
>> take up. Is there a way to strip these off of jpegs without having to
[quoted text clipped - 15 lines]
> You can also tell Photoshop not to put icons on image files in the first
> place, in the 'Saving Files' preferences.
Oh, duh. The shell is showing the data fork...dah-hee. Now I gotta
export all my iPhoto, cp them (or try this GrimRipper CM, and then
exifiron. That's gotta be like half a gig....
Thanks gang

Signature
"It's beyond my ken... and my Barbie, and all of my action figures."