• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Akua Sweets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Akua Sweets


  • Subject: Re: Akua Sweets
  • From: Helmut Fuchs <email@hidden>
  • Date: Thu, 2 Aug 2007 14:33:30 +0200

Ken,

AFAIK the compression level in a JPEG file is only present in files created with Photoshop (or written by programs that try to act like Photoshop).

I have once written a Perl script to allow modifications on these Photoshop image resource blocks (for example to transfer paths from one file to another).

While toying around with these image resource blocks I found the compression level to have informal value at best: As soon as image processing tools other than Photoshop have been used, the compression level that is saved and the actual image quality don't seem to match very well.

When you save JPEG compressed TIFF files from Photoshop then this info is not even included.

So maybe you're better off to just drop this information. Or use some heuristic based on dimension, depth and image file size to quantify the quality.

If you use do shell script and mdls to access the Spotlight index and parse the returned data string you definitely won't need to open the files - if they already have been indexed.

HTH,

Helmut
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Akua Sweets (From: "Fleisher, Ken" <email@hidden>)

  • Prev by Date: Re: Help with find text command
  • Next by Date: Script to click on NSStatusItem menu & its submenus
  • Previous by thread: Re: Akua Sweets
  • Next by thread: Re: Akua Sweets
  • Index(es):
    • Date
    • Thread