This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 225
Expand file tree
/
Copy pathJPEGQuality.lcdoc
More file actions
51 lines (35 loc) · 1.57 KB
/
JPEGQuality.lcdoc
File metadata and controls
51 lines (35 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Name: JPEGQuality
Type: property
Syntax: set the JPEGQuality to <qualityNumber>
Summary:
Specifies the quality level of <JPEG> <image|images> created by
LiveCode.
Introduced: 1.1
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
set the JPEGQuality to 40
Example:
set the JPEGQuality to the JPEGQuality - 10
Value:
The <JPEGQuality> is an integer between 1 and 100.
By default, the <JPEGQuality> <property> is set to 100.
Description:
Use the <JPEGQuality> <property> to control the file size and sharpness
of <JPEG> <files> created with the <export> <command>.
JPEG compression is inherently lossy, which means some detail is always
lost when an image is compressed using this method. The <JPEGQuality>
<property> controls how much detail is lost. If the <JPEGQuality> is
100, as much detail as possible is retained.
In general, the lower the quality setting, the smaller the file size.
Photographic images with naturally fuzzy edges generally do not suffer
much visible loss of quality with a <JPEGQuality> setting of 50 or
higher. Different <image(object)|images> may require different levels of
this property to achieve acceptable results.
The <JPEGQuality> setting is used when a <file> is exported in <JPEG>
format using the <export> <command>, and when an <image(keyword)> whose
<paintCompression> <property> is "jpeg" is changed.
References: export (command), import (command), files (function),
property (glossary), JPEG (glossary), command (glossary), file (keyword),
image (keyword), image (object), paintCompression (property)
Tags: multimedia