Skip to content

Commit

Permalink
improved resolution algorithm.
Browse files Browse the repository at this point in the history
uses rounds to nearest integer of 4:3 aspect ratio.
  • Loading branch information
ksherlock committed Nov 14, 2023
1 parent 3f05793 commit cbf3fd5
Show file tree
Hide file tree
Showing 51 changed files with 89 additions and 79 deletions.
2 changes: 1 addition & 1 deletion Ample/Resources/ds2100.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1024</integer>
<integer>1728</integer>
<integer>864</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ds3100.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1024</integer>
<integer>1728</integer>
<integer>864</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ds5k133.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/hp9k310.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1024</integer>
<integer>1536</integer>
<integer>768</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/hp9k330.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1024</integer>
<integer>1536</integer>
<integer>768</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/hp9k360.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/hp9k370.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/hp9k380.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/hp9k382.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/indigo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1024</integer>
<integer>1536</integer>
<integer>768</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/indigo2_4415.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/indigo_r4000.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1024</integer>
<integer>1536</integer>
<integer>768</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/indigo_r4400.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1024</integer>
<integer>1536</integer>
<integer>768</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/indy_4610.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/indy_4613.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/indy_5015.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ip2000.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1184</integer>
<integer>1768</integer>
<integer>884</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ip2400.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1184</integer>
<integer>1768</integer>
<integer>884</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ip2500.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1184</integer>
<integer>1768</integer>
<integer>884</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ip2700.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1184</integer>
<integer>1768</integer>
<integer>884</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ip2800.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1184</integer>
<integer>1768</integer>
<integer>884</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ip6000.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1184</integer>
<integer>1768</integer>
<integer>884</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ip6400.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1184</integer>
<integer>1768</integer>
<integer>884</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ip6700.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1664</integer>
<integer>2496</integer>
<integer>1248</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/ip6800.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1664</integer>
<integer>2496</integer>
<integer>1248</integer>
</array>
<key>slots</key>
<array>
Expand Down
12 changes: 0 additions & 12 deletions Ample/Resources/models.plist
Original file line number Diff line number Diff line change
Expand Up @@ -569,12 +569,6 @@
<key>value</key>
<string>macqd610</string>
</dict>
<dict>
<key>description</key>
<string>Macintosh Quadra 630</string>
<key>value</key>
<string>macqd630</string>
</dict>
<dict>
<key>description</key>
<string>Macintosh Quadra 650</string>
Expand Down Expand Up @@ -648,12 +642,6 @@
<key>value</key>
<string>maclc575</string>
</dict>
<dict>
<key>description</key>
<string>Macintosh LC/Performa 580</string>
<key>value</key>
<string>maclc580</string>
</dict>
<dict>
<key>description</key>
<string>Macintosh Centris 610</string>
Expand Down
12 changes: 0 additions & 12 deletions Ample/Resources/models~extra.plist
Original file line number Diff line number Diff line change
Expand Up @@ -569,12 +569,6 @@
<key>value</key>
<string>macqd610</string>
</dict>
<dict>
<key>description</key>
<string>Macintosh Quadra 630</string>
<key>value</key>
<string>macqd630</string>
</dict>
<dict>
<key>description</key>
<string>Macintosh Quadra 650</string>
Expand Down Expand Up @@ -648,12 +642,6 @@
<key>value</key>
<string>maclc575</string>
</dict>
<dict>
<key>description</key>
<string>Macintosh LC/Performa 580</string>
<key>value</key>
<string>maclc580</string>
</dict>
<dict>
<key>description</key>
<string>Macintosh Centris 610</string>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/nws3260.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1120</integer>
<integer>1560</integer>
<integer>780</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/pi4d20.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/pi4d25.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/pi4d30.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1024</integer>
<integer>1536</integer>
<integer>768</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/pi4d35.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1024</integer>
<integer>1536</integer>
<integer>768</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/rc3230.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1152</integer>
<integer>1800</integer>
<integer>900</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/rs2030.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1280</integer>
<integer>2048</integer>
<integer>1024</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/rs3230.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1152</integer>
<integer>1800</integer>
<integer>900</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/sun2_120.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1152</integer>
<integer>1800</integer>
<integer>900</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/sun2_50.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1152</integer>
<integer>1800</integer>
<integer>900</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/sun3_110.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1152</integer>
<integer>1800</integer>
<integer>900</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/sun3_150.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1152</integer>
<integer>1800</integer>
<integer>900</integer>
</array>
<key>slots</key>
<array>
Expand Down
2 changes: 1 addition & 1 deletion Ample/Resources/sun3_260.plist
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<key>resolution</key>
<array>
<integer>1600</integer>
<integer>2200</integer>
<integer>1100</integer>
</array>
<key>slots</key>
<array>
Expand Down
Loading

0 comments on commit cbf3fd5

Please sign in to comment.