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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  A soft to resize pictures and convert Album Art files to rockbox format
« previous next »
  • Print
Pages: [1]

Author Topic: A soft to resize pictures and convert Album Art files to rockbox format  (Read 3789 times)

Offline CFP

  • Member
  • *
  • Posts: 8
A soft to resize pictures and convert Album Art files to rockbox format
« on: June 26, 2008, 03:56:39 AM »
Hey everybody!

As rockbox now supports album art, and needs bitmap files, I coded a soft to convert (& resize) album art files to rockbox format : as I'm using WMP, it allows me to display WMP-generated cover files in WPS, as well as covers that I have downloaded (ie cover.jpg, folder.jpg and so on). The program just explores directories and converts cover files to bitmap, also resizing those to specified size.

Furthermore, I have added a function to resize pictures to your screen's dimension, as my pictures were too large to display without stopping playback. The program copies & resizes pictures to the desired height/width, rotating pictures if necessary.

Sources and web install files are here:
http://cfpcreators.free.fr/index.php?ref=software&id=rbtools.
Note that the third part of the soft is linked to one of my plug-ins, which I'll add to the tracker when it will be fully functional.

CFP
« Last Edit: June 26, 2008, 03:01:45 PM by CFP »
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: A soft to resize pictures and convert Album Art files to rockbox format
« Reply #1 on: June 26, 2008, 04:42:33 AM »
You should probably put this up on the wiki (here and/or here) as it will just get lost in the forums.
Logged

Offline CFP

  • Member
  • *
  • Posts: 8
Re: A soft to resize pictures and convert Album Art files to rockbox format
« Reply #2 on: June 26, 2008, 05:43:16 AM »
Okay. I'll create an account on the wiki and add it. Did you test the soft ?
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: A soft to resize pictures and convert Album Art files to rockbox format
« Reply #3 on: June 26, 2008, 10:28:30 PM »
Yes I did take a brief look at it, though honestly it's not something I personally am likely to use.

Looking at it again, I see a couple of problems:
1. Why are you creating black bands when resizing images?  I think the images would display faster on Rockbox without them.
2. screenshot here
a. If it's empty, why not just say "Folder x is empty"? "Folder X contains:" and an empty list looks more like the program is broken.
b. You ask for confirmation to delete, but there's only one button, which scarily looks like it means "yes".
c. The folder is not actually deleted.
3. The "Update cover.bmp files" function.
a. Also asks a question but only presents an "Okay" button.
b. There are likely to be a lot of files to convert.  Popping up a dialog box for every one will be very annoying.  I think a much better way would be to populate a grid with the potential files to convert, similar to how QtScrobbler works.
4. The multiple windows ("Album art", "Pictures", "Pictures gallery") are useless, since you can only use one at a time.  They should either be non-modal, or the windows should be converted into tabs in a single window to save screen space.
« Last Edit: June 27, 2008, 12:32:44 AM by cool_walking_ »
Logged

Offline CFP

  • Member
  • *
  • Posts: 8
Re: A soft to resize pictures and convert Album Art files to rockbox format
« Reply #4 on: June 27, 2008, 02:27:03 AM »
So :
0. Thanks for this bit of testing, cool_walking_
1. Okay, removed the black bands on the border of pictures. The fact is I have to add them when creating thumbnails for photogallery, and I was using the same function. Fixed.
2. Okay, added a check to see if the folder was actually empty or if it was just lacking music files. Also fixed the confuson between And and + so fixed the 'Ok' button problem.
3. Made windows non-modal as a quick fix, although I like the idea of tabs. I'll implement the list idea.
Logged

Offline CFP

  • Member
  • *
  • Posts: 8
Re: A soft to resize pictures and convert Album Art files to rockbox format
« Reply #5 on: September 11, 2008, 01:02:54 PM »
Updated on September 11
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: A soft to resize pictures and convert Album Art files to rockbox format
« Reply #6 on: September 11, 2008, 01:17:55 PM »
You can also find this listed in the AlbumArt page under "Format Conversion".  (No one mentioned this yet in this thread.)

CFP, a note on the wiki page informing of the update with your signature and the date would also be nice.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  A soft to resize pictures and convert Album Art files to rockbox format
 

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

Page created in 0.075 seconds with 16 queries.