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
| |-+  Theming and Appearance Customization
| | |-+  How do I create backdrop .bmp using 'convert' under linux?
« previous next »
  • Print
Pages: [1]

Author Topic: How do I create backdrop .bmp using 'convert' under linux?  (Read 1380 times)

Offline Myrmornis

  • Member
  • *
  • Posts: 13
How do I create backdrop .bmp using 'convert' under linux?
« on: January 11, 2008, 10:51:47 AM »
Hi there, I'm working in linux, trying to use the ImageMagick 'convert' utility. Could someone give me a 'convert' command to transform a jpeg into a .bmp suitable for use as a backdrop on a 5.5th gen ipod video?

The rockbox manual tells me that the bmp must be
"320x240x16 with the last number giving the colour depth in bits"

The simplest thing I've tried is

Code: [Select]
convert -thumbnail 320x240 arachnid.jpg arachnid.bmp

but this fails to load as a backdrop, and is not the same size file as backdrops I know to work. The backdrop images that function correctly are all of size 226K, whereas the above line produces a 202K image.

Thanks a lot,

Dan
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: How do I create backdrop .bmp using 'convert' under linux?
« Reply #1 on: January 11, 2008, 11:56:38 AM »
Try:

Code: [Select]
convert -thumbnail 320x240\! arachnid.jpg arachnid.bmp

Without the ! at the end, convert will attempt to keep the aspect ratio of the image, and will only create a file that is close to 320x240, not exactly 320x240.

You can check the size of the resulting bmp file using "display arachnid.bmp" and then looking at the image properties.
Logged

Offline Myrmornis

  • Member
  • *
  • Posts: 13
Re: How do I create backdrop .bmp using 'convert' under linux?
« Reply #2 on: January 13, 2008, 01:51:50 PM »
Cheers, that does it!

Dan
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  How do I create backdrop .bmp using 'convert' under linux?
 

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

Page created in 0.061 seconds with 15 queries.