I'm working on a kind of unique app which needs to generate images at specific resolutions according to the device they are displayed on. So the output is different on a regular Windows browser (96ppi), iPhone (163ppi), Android G1 (180ppi), and other devices. I'm wondering if there's a way to detect this automatically.
My initial resear...
I'm trying to make an app that displays something in real-world units.
It's not a ruler app, but it wants that kind of precision.
It already looks like the iPhone and iPod touch have different screen resolutions (160 & 163 respectively)
I've found this
http://stackoverflow.com/questions/610193/calculating-pixel-size-on-an-iphone
and th...
Hi
I'm using the experimental asio sctp library. (code.halssoftware.com/index.php/p/boostasiosctp/source)
It's pretty easy to use like the other networking stuff in asio.
The one problem I have is that I want to use the PPI field in SCTP data chunks - but I can't figure out how to get that information from the asio sctp interface. It ...
I'm trying to find the comment # VERSION in a perl source file. I then want to insert the version before the comment (or in place of doesn't matter). Could anyone tell me the right way to do this with PPI?
before
use strict;
use warnings;
package My::Package;
# VERSION
...
after
use strict;
use warnings;
package My::Package;
our $VE...