Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  JPEG Viewers
« previous next »
  • Print
Pages: [1]

Author Topic: JPEG Viewers  (Read 1947 times)

Offline johnlee

  • Member
  • *
  • Posts: 1
    • Carpet Cleaning Sydney
JPEG Viewers
« on: July 08, 2012, 09:59:22 PM »
Hello Forum..

Can someone explain how the JPEG viewer calculates the initial scale? The scaling doesn't seem to be based on the LCD screen size. I've got an image that's 432x341 but the initial scale puts the image at 108x85 which leaves a lot of real estate uncovered. Zooming fills the screen and then some. Is there any way to get the viewer to scale the image so the long edge fits edge-to-edge while maintaining the aspect ratio.

Please response .. Thanks in Advance
Logged
Carpet Cleaning Sydney  |  House Cleaning Sydney

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: JPEG Viewers
« Reply #1 on: July 11, 2012, 08:45:20 PM »
I don't think the scaling is very sophisticated.  IIRC it can change the dimension by factors of 2, which would be consistent with what you wrote (108 =432*1/4).  I think it probably selects the largest such zoom setting that doesn't crop the image.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  JPEG Viewers
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.062 seconds with 15 queries.