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




Rockbox Technical Forums


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

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Rotate feature should be added to JPEG viewer.
« previous next »
  • Print
Pages: [1]

Author Topic: Rotate feature should be added to JPEG viewer.  (Read 3377 times)

Offline MajiKool Dragonâ„¢

  • Member
  • *
  • Posts: 147
  • I'm me!
Rotate feature should be added to JPEG viewer.
« on: July 01, 2008, 07:41:45 PM »
i'd like to see the ability to rotate images very much.

so i can rotate images to more efficiently fit the screen.
« Last Edit: October 08, 2008, 09:51:45 PM by MajiKool Blingâ„¢ »
Logged
"Isn't it funny how even the coldest weather isn't so cold when you've got people who care about you to walk through it with you." - MajiKool Dragonâ„¢
SanDisk Sansa c240v1 + 16GB µSDHC, Apple iPhone 4 iOS4.2.1 Jailbroken

Offline MajiKool Dragonâ„¢

  • Member
  • *
  • Posts: 147
  • I'm me!
Re: Rotate feature should be added to JPEG viewer.
« Reply #1 on: October 08, 2008, 09:55:44 PM »
i would like to bring this topic back to life because, i've talked to several of my rockbox user friends, and they all agree this feature is much needed.



i might actually try to code this one my self! yay ;D  (though i'd rather someone who actually knows how to do it to do it)
just tell me what exactly i need to do... and hopefully at some point i might actually figure out how to do it.
« Last Edit: October 08, 2008, 10:02:39 PM by MajiKool Blingâ„¢ »
Logged
"Isn't it funny how even the coldest weather isn't so cold when you've got people who care about you to walk through it with you." - MajiKool Dragonâ„¢
SanDisk Sansa c240v1 + 16GB µSDHC, Apple iPhone 4 iOS4.2.1 Jailbroken

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8647
Re: Rotate feature should be added to JPEG viewer.
« Reply #2 on: October 08, 2008, 10:06:31 PM »
Quote from: MajiKool Blingâ„¢ on October 08, 2008, 09:55:44 PM
just tell me what exactly i need to do... and hopefully at some point i might actually figure out how to do it.

Take the output of the JPEG decoder and flip the rows and columns as needed to rotate the image.  Not much else to it.
Logged

Offline MajiKool Dragonâ„¢

  • Member
  • *
  • Posts: 147
  • I'm me!
Re: Rotate feature should be added to JPEG viewer.
« Reply #3 on: October 08, 2008, 10:10:26 PM »
ahhh.... and how do i do that ???


also i'm not quite sure what you meant but i would like to be able to rotate the image within the viewer on the go
« Last Edit: October 08, 2008, 10:12:23 PM by MajiKool Blingâ„¢ »
Logged
"Isn't it funny how even the coldest weather isn't so cold when you've got people who care about you to walk through it with you." - MajiKool Dragonâ„¢
SanDisk Sansa c240v1 + 16GB µSDHC, Apple iPhone 4 iOS4.2.1 Jailbroken

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4322
Re: Rotate feature should be added to JPEG viewer.
« Reply #4 on: October 08, 2008, 11:16:36 PM »
Basically, you want to transpose the data.  I don't know C very well, so I don't know the most efficient way of doing this, but that's the game here.  Take the first row and turn it into the first column, etc.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8647
Re: Rotate feature should be added to JPEG viewer.
« Reply #5 on: October 08, 2008, 11:27:29 PM »
Quote from: MajiKool Blingâ„¢ on October 08, 2008, 10:10:26 PM
ahhh.... and how do i do that ???


also i'm not quite sure what you meant but i would like to be able to rotate the image within the viewer on the go

I'm guessing this is probably not something you're going to be able to do yourself then.
Logged

Offline robin0800

  • Member
  • *
  • Posts: 291
  • Freeman
Re: Rotate feature should be added to JPEG viewer.
« Reply #6 on: October 09, 2008, 11:29:13 AM »
Don't expect it helps, but there is a rotate display menu item for the Sansa C250, not sure if this is hardware or software. The OF doesn't have this.
Logged

Offline MajiKool Dragonâ„¢

  • Member
  • *
  • Posts: 147
  • I'm me!
Re: Rotate feature should be added to JPEG viewer.
« Reply #7 on: October 09, 2008, 02:28:38 PM »
Quote from: robin0800 on October 09, 2008, 11:29:13 AM
Don't expect it helps, but there is a rotate display menu item for the Sansa C250, not sure if this is hardware or software. The OF doesn't have this.

no... doesn't really help...

that only flips it upside down.


Quote from: saratoga on October 08, 2008, 11:27:29 PM
Quote from: MajiKool Blingâ„¢ on October 08, 2008, 10:10:26 PM
ahhh.... and how do i do that ???


also i'm not quite sure what you meant but i would like to be able to rotate the image within the viewer on the go

I'm guessing this is probably not something you're going to be able to do yourself then.

ya.... i might try. but ya... ;D
« Last Edit: October 09, 2008, 02:30:23 PM by MajiKool Blingâ„¢ »
Logged
"Isn't it funny how even the coldest weather isn't so cold when you've got people who care about you to walk through it with you." - MajiKool Dragonâ„¢
SanDisk Sansa c240v1 + 16GB µSDHC, Apple iPhone 4 iOS4.2.1 Jailbroken

Offline gratt

  • Member
  • *
  • Posts: 34
Rotate feature added to JPEG viewer. FS#9497
« Reply #8 on: October 17, 2008, 01:33:42 AM »
I added a rotate option to the jpeg viewer FS#9497
It is tested on sansa e200 and should work on colout targets.
More work is required for Zoom and moving around pictures.

Credit to Rene Peinthor and Adam Gashlin with additions by me
for the rotate function from sansa_video.patch FS# 6675

GRaTT
Logged

Offline MajiKool Dragonâ„¢

  • Member
  • *
  • Posts: 147
  • I'm me!
Re: Rotate feature should be added to JPEG viewer.
« Reply #9 on: October 18, 2008, 01:00:53 PM »
awesome...
good work

thanks!  ;D ;)


edit:
hope this gets accepted into official build
« Last Edit: October 19, 2008, 01:53:04 PM by MajiKool Blingâ„¢ »
Logged
"Isn't it funny how even the coldest weather isn't so cold when you've got people who care about you to walk through it with you." - MajiKool Dragonâ„¢
SanDisk Sansa c240v1 + 16GB µSDHC, Apple iPhone 4 iOS4.2.1 Jailbroken

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Rotate feature should be added to JPEG viewer.
 

  • SMF 2.0.6 | SMF © 2013, Simple Machines
  • XHTML
  • RSS
  • WAP2

Page created in 0.097 seconds with 56 queries.