So great!

Jul. 11th, 2005 06:51 pm
pphaneuf: (Default)
[personal profile] pphaneuf
This morning, there was a knock on the door. I opened it, to see a hot girl, on my doorstep. Okay, so it was the super of my landlord coming to pick up the rent checks, but still, hot girl on my doorstep in the morning, I think this is a good start.

I just edited a big-endian XBM icon by hand in vi, which was a lot of fun and reminded me of the days doing game development.

I was hungry, I found food that was mine in the freezer. Score.

I was feeling mischievous, [livejournal.com profile] ayria just came by, so I poked her a bit.

Finally, I sat my feet up on the windowsill by my desk, then the sun came out and warmed them.

This is pretty damned awesome.

Date: 2005-07-12 12:03 am (UTC)
ext_157608: (Default)
From: [identity profile] sfllaw.livejournal.com
Do people still use XBM icons? I was under the impression that this had been subsumed by modern SVG icons.

Date: 2005-07-12 12:12 am (UTC)
From: [identity profile] http://users.livejournal.com/hub_/
AbiWord makes heavv use of it... and inlined in C code (unless it is on MacOS X, which I implemented xbm->png in the build system)

Date: 2005-07-12 12:54 am (UTC)
From: [identity profile] pphaneuf.livejournal.com
Probably XPMs, no? XBMs are, um, pretty fucking damned ugly (1 bit per pixel black and white!). I seem to recall AbiWord having a color icon, but it's been a while since I used it.

I was wondering, maybe you know... Does Mac OS X even support SVG icons?

Date: 2005-07-12 01:23 am (UTC)
From: [identity profile] http://users.livejournal.com/hub_/
yeah, xbm. I'm confusing. What were you doing with xpm ?

Date: 2005-07-12 01:37 am (UTC)
From: [identity profile] pphaneuf.livejournal.com
No, I did nothing with XPM, it was with XBM! The bitmap one, not the pixmap one!

It was the funky 32x64 bitmap of old-style Mac OS icon + mask...

Date: 2005-07-12 01:53 am (UTC)
From: [identity profile] http://users.livejournal.com/hub_/
p or b, what is the difference :P

Date: 2005-07-12 02:12 am (UTC)
From: [identity profile] pphaneuf.livejournal.com
Oh, man, all the difference in the world when you're trying to figure stuff out! :-)

Date: 2005-07-12 02:13 am (UTC)
From: [identity profile] pphaneuf.livejournal.com
More straightforwardly, XBM is X BitMap and XPM is X PixMap. Bitmaps, as the name implies, is a map of single bits, packed in a very efficient way for that. Pixmaps are the more general thing, usable for color images of various depths, etc...

Date: 2005-07-12 12:52 am (UTC)
From: [identity profile] pphaneuf.livejournal.com
It's been a long time people have more or less stopped using XBM icons. This wasn't strictly an XBM icon, it was an AFP Macintosh icon in an inline C definition that I could coax into displaying semi-properly as an XBM using gqview.

For bitmaps (like icon masks), XBM is still semi-common, but usage of that is fairly rare and tends to be subsumed by either using a transparent color like GIF or XPM, or outright alpha channel, as in PNG.

SVG is fairly rare, actually. Most SVG renderers are extremely slow, compared to resizing pixmaps. Mac OS X, for example, uses oversized pixmaps with alpha channel that are then shrunk down, so they always look good, but they'd stop if you enlarged them enough (they're 128x128, if I recall).

PNG is what I see the most of, these days.

Date: 2005-07-12 01:24 am (UTC)
From: [identity profile] http://users.livejournal.com/hub_/
I sometime really appreciate the confidence some co-worker have in me....

screw that.

Date: 2005-07-12 02:04 am (UTC)
From: [identity profile] pphaneuf.livejournal.com
Was that bug assigned to you? Talk to the dude, man.

February 2016

S M T W T F S
 123456
7891011 1213
14151617181920
21222324252627
2829     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 20th, 2026 01:36 pm
Powered by Dreamwidth Studios