Scaling image (with Akua?)
Scaling image (with Akua?)
- Subject: Scaling image (with Akua?)
- From: Lists <email@hidden>
- Date: Thu, 22 May 2003 11:11:27 -0700
Hi List,
Trying to do some image processing. Currently using Akua Draw Sweets V1.29.
Everything works well EXCEPT I have little control over the final output
resolution. I appear to be forced to use 72 256 or 512 (increasing in
considerable increments. The specification I have been given requires 150
DPI output. Of course, it seems to me a 150 DPI file at 1.666667" is the
same as a 256DPI file at 0.97777" but my client is insisting the files
arrive at 150 DPI. Am I wrong on my DPI versus size assertion?
I don't want to use graphic converter. Akua Draw Sweets requires that
resolution be set by a small integer, 0, 1 , 2 etc. Can I adjust resolution
by playing with image depth?
Here's my code:
Mac OS 9.2
set ThePicture to "Macintosh HD:Desktop Folder::20089967.222178A.jpg"
set TheNewPicture to "Macintosh HD:Desktop Folder:test.jpg"
set ThePicture to (the image from ThePicture)
set theBounds to picture bounds of (the picture info for ThePicture)
set ThePicture to scale image ThePicture to theBounds at 1
store image ThePicture in TheNewPicture as "JPEG" with percent quality 100
with overwriting
The scale image line "at 1" returns the resolution at 256 DPI.
Any advice would be helpful.
Thanks,
Steve
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.