There is an image property named "Quality" which allows one to select "Normal", "Good" or "Best" via a combobox. Is there a way to access this property programmatically? It doesn't appear to be included in the properties array of the image.
Thanks
Setting image quality programmatically
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Setting image quality programmatically
This is one of my major pet peeves with Rev... it's lack of thorough documentation in a logical presentation.jason.lubken wrote:There is an image property named "Quality" which allows one to select "Normal", "Good" or "Best" via a combobox. Is there a way to access this property programmatically? It doesn't appear to be included in the properties array of the image.
Thanks

Try this:
Code: Select all
--to get this property of an image
put the resizeQuality of img "myImage" into msg -- or a variable or custom propery
--to set this property for an image
set the resizeQuality of img "myImage" to Good --or Normal or Best
`````````````````````````````
Improved Image Resizing
~~~~~~~~~~~~~~~~~~~~~~~
  There are now three levels of image resize quality:
   - normal: uses a 'nearest' filter - i.e. no interpolation
   - good: uses a 'bilinear' filter - i.e. interpolation is done
between the four nearest pixels using bilinearity
   - best: uses a 'bicubic' filter - i.e. interpolation is done using
cubic approximation from near pixels
  The filter used can be set using the 'resizeQuality' property of
images. 'normal' is the fastest scaling method, followed by 'good' and
then 'best'.
  N.B. The image quality is now a persistent property of images.
  N.B. Due to the current engine graphics architecture, the quality
[missing text here]
```````````````````````````
If you're looking for image quality, check out JPEGQuality which is in the documentation.
-
- Posts: 4
- Joined: Wed Jun 06, 2007 6:35 pm