This image is the top of the content box. Unfortunately, there is no information-based reason for this div to be here. It's just here for design reasons. Sorry.
Go Back   MisticRiver :: For iriver Enthusiasts > All things Rockbox > ROCKbox Forums > ROCKbox for H3xx Series
Home Forums Register FAQ Search Today's Posts Mark Forums Read


Welcome to the misticriver forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 11th, 2005, 07:11 AM
Born Again Mistic
 
Join Date: Sep 2005
Location: Melbourne, AUS
Posts: 1,045
A few q's about bitmaps and WPS's.

I'm looking to make a certain WPS, and need a few things clarified.

1.Bitmaps.
What is the easiest way to make one? I think I read that they had to have one colour per pixel, so can I just make any black and white image in paint?

2.X and Y.
i)When placing bmps on the WPS, you need to specify the X and Y coordinates. Does it work like VB does, where (0,0) is the top left hand corner? Or is (0,0) the middle of the screen, meaning you can have negative values?

ii)What part of the image will be on the coordinates? The exact middle or one of the corners. If I want and image to take up the entire screen do I type (0,0) or whatever the middle of the screen would be.

iii)What are the limits of the screen? What are the coordinates of the bottom right hand corner?(assuming that (0,0) is the top right.)


I think that's about it, hope it makes sense and thanks for any help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old December 11th, 2005, 11:36 AM
Certified Post Whore
 
Join Date: Aug 2004
Location: "Upstate" NY
Posts: 4,170
Send a message via AIM to NPswimdude500
1. yes
2. like VB, (0,0) is the top left corner
3. if you want an image that's 20 pixels wide to touch the edge of the right side, the x coordinate would be 150. if you wanted that image to be 5 pixels down from the top, the y coordinate would be 5.
4. screen is 160x128
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old December 11th, 2005, 12:10 PM
Ego Ego is offline
Amorphous Mutating Mistic
 
Join Date: Dec 2004
Posts: 574
if it goes by pixel, the H300 screen is 220 by 176

-ego
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old December 12th, 2005, 12:24 AM
Born Again Mistic
 
Join Date: Sep 2005
Location: Melbourne, AUS
Posts: 1,045
Alright, so if I make a bmp that will take up the whole screen do I make it 160x128 pixels, or 220x176 pixels? And, what coordinates do I set so that it takes up the whole screen? 0,0 or whatever the middle of the screen would be?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old December 12th, 2005, 01:06 AM
Step666's Avatar
Everything looks perfect from far away.
 
Join Date: Feb 2005
Location: Home, Scotland, UK.
Posts: 8,185
From what other people have written, it sounds like to get a bmp that covers the entire screen, you make it 220x176 and position it at 0,0.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old December 12th, 2005, 02:15 AM
Born Again Mistic
 
Join Date: Sep 2005
Location: Melbourne, AUS
Posts: 1,045
Alrighty thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old December 12th, 2005, 03:24 AM
Moderating by the seat of my pants :)
 
Join Date: Aug 2004
Location: Korea
Posts: 8,893
I think the co-ords are from the top left as others have said, and also refer to the top left corner of the bmp.

a
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old December 12th, 2005, 09:02 AM
Certified Post Whore
 
Join Date: Aug 2004
Location: "Upstate" NY
Posts: 4,170
Send a message via AIM to NPswimdude500
oops! thought this was in the 1xx forums...sorry bout that! 220x176 is the correct resolution
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old December 12th, 2005, 08:27 PM
Born Again Mistic
 
Join Date: Sep 2005
Location: Melbourne, AUS
Posts: 1,045
Well I finnaly managed to finish the background picture after lot's of stuffing around, but when I tested it it on the iriver, with just the background.mbp as the WPS, it was inverted. Does anyone know how to fix this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old December 12th, 2005, 09:20 PM
Ego Ego is offline
Amorphous Mutating Mistic
 
Join Date: Dec 2004
Posts: 574
invert the .bmp image?

-EGO
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old December 12th, 2005, 09:47 PM
Born Again Mistic
 
Join Date: Sep 2005
Location: Melbourne, AUS
Posts: 1,045
That will most likely work, but any reason why it was inverted in the first place?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old December 13th, 2005, 01:05 AM
Moderating by the seat of my pants :)
 
Join Date: Aug 2004
Location: Korea
Posts: 8,893
It seems that at least the wps inverts all images.

Inverting in a graphics editor does indeed fix the problem.

a
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old December 13th, 2005, 01:26 AM
Born Again Mistic
 
Join Date: Sep 2005
Location: Melbourne, AUS
Posts: 1,045
Thanks

........
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old December 16th, 2005, 10:08 AM
Judge's Avatar
Guilty!
 
Join Date: Jan 2005
Location: Presiding over the Court
Posts: 1,652
Quote:
Originally Posted by swunk
Well I finnaly managed to finish the background picture after lot's of stuffing around, but when I tested it it on the iriver, with just the background.mbp as the WPS, it was inverted. Does anyone know how to fix this?
I had that too when I customized some iAmp bmps with Photoshop. I think it's because when I save the bmps again, I save with 16 or 24 or 32 bit. Rockbox will only work properly with 1bit (monochrome) files.

But photoshop can't save as a monochrome bmp (very weird). It's best to use paint. Save as -> choose bmp -> monochrome. That works for me.
__________________
Portable rig: Cowon iAudio D2 -> Waiting for the Westone 3 to come out
Home rig: Laptop/Arcam CD73 -> Apogee Mini-DAC USB -> Corda Cantate -> HD650
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old December 16th, 2005, 10:50 AM
Denny's Avatar
mistic mad scientist
 
Join Date: Jan 2005
Location: UK - Newcastle
Posts: 1,134
Quote:
Originally Posted by Judge
But photoshop can't save as a monochrome bmp (very weird). It's best to use paint. Save as -> choose bmp -> monochrome. That works for me.
Photoshop can save monochrome bitmaps but you have to change the image mode to 'bitmap' (instead of RGB) befor saving.

Last edited by Denny : December 16th, 2005 at 11:03 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old December 16th, 2005, 07:00 PM
Born Again Mistic
 
Join Date: Sep 2005
Location: Melbourne, AUS
Posts: 1,045
I used paint, and they were ti was monochrome. But it's fixed now anyway
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 06:39 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
This image is the bottom of the content box. Unfortunately, there is no information-based reason for this div to be here. It's just here for design reasons. Sorry.