User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 423,403 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,568 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser: Programming Forums
Views: 1736 | Replies: 5 | Solved
Reply
Join Date: Sep 2007
Location: Philippines
Posts: 24
Reputation: upstream is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
upstream's Avatar
upstream upstream is offline Offline
Newbie Poster

Converting Metric units to Pixels

  #1  
Nov 10th, 2007
hi! does anyone knows how to convert metric units (such as centimeters) to pixels by hand (i mean the normal calculation, not a function from a programming language or something) ? i just want to be accurate and use pixels instead in measurement...=/ i tried searching but it gives me confusing prolan functions...xD
Programming = new Art
---
I <3 BoA Kwon
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 114
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Converting Metric units to Pixels

  #2  
Nov 11th, 2007
Can you convert inches to pixels?

1 inch = 2.54 cm.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,776
Reputation: niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all 
Rep Power: 11
Solved Threads: 185
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Virtuoso

Re: Converting Metric units to Pixels

  #3  
Nov 19th, 2007
Originally Posted by upstream View Post
hi! does anyone knows how to convert metric units to pixels?

It depends on how many dots per inch you use (DPI) If you know this, you know how many pixels per inch and then just use midimagics tip

Niek
Last edited by niek_e : Nov 19th, 2007 at 10:49 am.
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
Reply With Quote  
Join Date: Feb 2005
Location: London, UK
Posts: 236
Reputation: uniquestar is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 11
uniquestar's Avatar
uniquestar uniquestar is offline Offline
Daniweb Sponsor

Re: Converting Metric units to Pixels

  #4  
Nov 23rd, 2007
Tip of the Millenium: There is no point worrying about life, because no-one gets out alive.
Reply With Quote  
Join Date: Sep 2007
Location: Philippines
Posts: 24
Reputation: upstream is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
upstream's Avatar
upstream upstream is offline Offline
Newbie Poster

Re: Converting Metric units to Pixels

  #5  
Dec 22nd, 2007
^i already did before, but it's too complicated..

hi guys thanks for the ideas...i found it how! ^^ it's 72pixel (up to 120 pixel) = 1 inch (depends on a the monitor)..it's on a book...that's maybe why i can't it find it on the web..=/
Programming = new Art
---
I <3 BoA Kwon
Reply With Quote  
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 114
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Converting Metric units to Pixels

  #6  
Dec 22nd, 2007
But that depends on what monitor resolution someone is using.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Site Layout and Usability Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 1:18 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC