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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  RockBox album cover appearing white'ish
« previous next »
  • Print
Pages: [1] 2

Author Topic: RockBox album cover appearing white'ish  (Read 5115 times)

Offline ISwearSheWas18

  • Member
  • *
  • Posts: 5
RockBox album cover appearing white'ish
« on: June 11, 2013, 06:55:05 AM »
Hello, I recently started using Rockbox, when I noticed, that for some image files, which I have set as album artworks for some songs, appear slightly white'ish or much more grayer than the original image. Like the brightness of that image is messed up or something. Most of the images are ok, just like 10-20% have this defect. Any ideas what could cause this thing?
Logged

Offline electric_indigo

  • Member
  • *
  • Posts: 14
Re: RockBox album cover appearing white'ish
« Reply #1 on: June 11, 2013, 09:26:28 AM »
I also came across this issue. At first I thought there was some bug in display driver, but I took a screendump of a distorted image and it turned out pale on my PC, too. Then I thought the vulnerable images had been encoded by buggy software or with some exotic settings, so I re-encoded them with imagemagick (with the -strip option) and it didn't help. But the funniest thing is that I even took a screenshot of a certain image on my PC (where it looked properly) to eliminate previous encoders' influence. After saving the screenshot and copying it to my player, it was still pale / too bright. It seems as if some colors were not handled properly by Rockbox's image libraries.
I run 3.13 on Sansa Clip Zip.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: RockBox album cover appearing white'ish
« Reply #2 on: June 12, 2013, 12:21:12 AM »
It /could/ be a problem with scaling perhaps?

You could test this by making sure the image doesn't need to be resized. You can open the .wps and find the size the theme is expecting, there's be a line along the lines of: %Cl(xpos,ypos,width,height).


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline electric_indigo

  • Member
  • *
  • Posts: 14
Re: RockBox album cover appearing white'ish
« Reply #3 on: June 12, 2013, 12:58:53 AM »
I don't know, will try later. However, the images are also affected when viewed in Rockbox's image browser, in any scale.
Logged

Offline ISwearSheWas18

  • Member
  • *
  • Posts: 5
Re: RockBox album cover appearing white'ish
« Reply #4 on: June 12, 2013, 06:16:08 AM »
Just tried, what [Saint] suggested - re-sized images to 96x96 resolution, which is Clip Zip's native one. Surprisingly, for one cover it worked and it appeared as it should. But when I tried to that to some others, they still had the same color defect as before.
Logged

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: RockBox album cover appearing white'ish
« Reply #5 on: June 12, 2013, 10:01:35 AM »
My first thoughts were gamma errors in scaling or colour profile issues. Those seem to have been ruled out by resizing and taking a screenshot on a PC.

Please upload some problem images somewhere so developers can examine the issue.

As a workaround, try converting the album art to BMP format. I suggest resizing them first to make the files smaller.
Logged

Offline ISwearSheWas18

  • Member
  • *
  • Posts: 5
Re: RockBox album cover appearing white'ish
« Reply #6 on: June 12, 2013, 11:01:07 AM »
Hmm, tried to convert images to .bmp as suggested and now it looks as it should. No need to re-size images to 96x96, just converting them to .bmp does the trick. Thanks for help!
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: RockBox album cover appearing white'ish
« Reply #7 on: June 12, 2013, 11:36:24 PM »
Quote from: ISwearSheWas18 on June 12, 2013, 06:16:08 AM
Just tried, what [Saint] suggested - re-sized images to 96x96 resolution, which is Clip Zip's native one.


Perhaps I could've worded this better. This wasn't quite what I was suggesting, but, close.

The native resolution of the device isn't relevant unless the theme is actually using a full screen album art image, which I doubt somewhat.
What I was suggesting was to look at the .wps/.sbs itself (as noted in my previous post you'll be looking for a declaration along the lines of:
%Cl(xpos,ypos,width,height,alignment,alignment) - the alignment params are not required and may or may not be present) and see what size album art the theme is requesting. By supplying the exact proportions the theme expects we can avoid any {down|up}scaling being done on the image at all.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline electric_indigo

  • Member
  • *
  • Posts: 14
Re: RockBox album cover appearing white'ish
« Reply #8 on: June 15, 2013, 04:33:54 AM »
Some examples: http://imgur.com/a/5NPCm
Some of them have not only color distorted, but also have some kind of “offset”.
Resizing to player's native resolution fixed the problem for all the images. Converting to bmp and back to jpeg without resizing fixed it for most of them. I used imagemagick with default quality settings.
Logged

Offline ISwearSheWas18

  • Member
  • *
  • Posts: 5
Re: RockBox album cover appearing white'ish
« Reply #9 on: June 15, 2013, 07:11:27 AM »
Well, it was quite the opposite for me. Converting image files to .bmp and leaving them to that format without converting back to .jpeg fixed all images, while changing resolution affected only few of them.
Logged

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: RockBox album cover appearing white'ish
« Reply #10 on: June 15, 2013, 11:02:26 PM »
Quote from: electric_indigo on June 15, 2013, 04:33:54 AM
Some examples: http://imgur.com/a/5NPCm
Some of them have not only color distorted, but also have some kind of “offset”.
Resizing to player's native resolution fixed the problem for all the images. Converting to bmp and back to jpeg without resizing fixed it for most of them. I used imagemagick with default quality settings.

I'm seeing the problems you describe in the image viewer plugin, on the 5G iPod and 5G simulator, d561017. This seems like a JPEG decoder issue.

These weren't fixed by converting to bmp and back: http://i.imgur.com/rmdguNT.jpg http://i.imgur.com/iTHqXDL.jpg
Note that they're both overall dark images, with large fairly uniform areas. The new JPEGs both seem to show some corruption near the top in Rockbox, like the first few rows of blocks aren't decoded properly, and proper decoding starts after a certain point.
Logged

Offline Roboturner913

  • Member
  • *
  • Posts: 30
Re: RockBox album cover appearing white'ish
« Reply #11 on: July 29, 2013, 08:38:54 PM »
I've had this issue in the past on encoded on covers with a lot of dark/black colors. It's always the same few covers that do it too.

I think for some reason Rockbox can't handle all of the darkest color info, especially when there are gradients of black. I lightened the cover a bit through Photoscape and that seemed to work. The good news is that once you fix it and re-tag the files it's done for good and you shouldn't have to mess with it again.

Probably the reason bitmapping works sometimes is because you're throwing out a lot of the subtler color info (i.e. instead of 10 shades of black there are now only 2 or 3) so it's not nearly so difficult for the program to read and process.
« Last Edit: July 29, 2013, 08:41:20 PM by Roboturner913 »
Logged

Offline Nephiel

  • Member
  • *
  • Posts: 12
Re: RockBox album cover appearing white'ish
« Reply #12 on: July 31, 2013, 01:05:52 PM »
I'm also having this issue.

The file I was trying to use as a backdrop for the menus is a very dark figure fading onto a black background. It's a BMP file I resized to 96x96 (the native resolution of the Zip) so no resizing is done by Rockbox. However the figure appears very bright on the screen of the Clip Zip, the edges are very clearly defined, with a high difference in brightness between "pitch black" and "very-nearly-black gray".

Yet on a computer the screen dumps look the same as the original image (black and dark gray look nearly the same brightness), so the bug must be in the OLED screen or its driver...
« Last Edit: July 31, 2013, 01:38:22 PM by Nephiel »
Logged

Offline Nephiel

  • Member
  • *
  • Posts: 12
Re: RockBox album cover appearing white'ish
« Reply #13 on: July 31, 2013, 03:30:10 PM »
Here's a file which appears to be fine on a computer yet shows artifacts when viewed on a Clip Zip. My bad, that image had artifacts indeed.
« Last Edit: July 31, 2013, 05:16:29 PM by Nephiel »
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: RockBox album cover appearing white'ish
« Reply #14 on: August 01, 2013, 11:33:31 AM »
Some mp3s I got from amazon have embedded album art that will produce blue artifacts.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  RockBox album cover appearing white'ish
 

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

Page created in 0.115 seconds with 14 queries.