06-05-2009
Quote:
Originally Posted by
reborg
Thank you! Seems to be what I was looking for.
9 More Discussions You Might Find Interesting
1. Linux
I can only use 771£¬
Anybody can use 787, 788, 789 modes£¬
3ks£¡ (1 Reply)
Discussion started by: hw.uestc
1 Replies
2. Solaris
i just tryed to install solaris 10.. it installed fine.. but when i restarted it and tried to use it.. i get a message that says: The X server cannot be started on display :0...
what do i do? :confused: (5 Replies)
Discussion started by: hiimcody1
5 Replies
3. UNIX for Dummies Questions & Answers
I am a newb linux user. And i am running suse 9.3 pro.
When i first installed it a couple of days ago, it booted into the desktop
fine the first four or five times.
And not when i turn on my computer and boot linux and loads the devices, then it prompts me...
UserName:
Password:
(which... (1 Reply)
Discussion started by: derekmpage
1 Replies
4. UNIX for Dummies Questions & Answers
I am having a hard time getting the framebuffer configured for the correct resolution. The card is a XVR-1200 and it is (or should be) linked to (do not know if that is the correct term) jfb0a & b. When I run fbconfig on /dev/fbs/jfb0a and ask for a list of resolutions, they all come back with ... (0 Replies)
Discussion started by: jetaber
0 Replies
5. UNIX Desktop Questions & Answers
Hello everybody! I need some help.
Is there a way to pin a window to the desktop in Linux?
I have a list of tasks in Calc. And I want the window of Calc to be always before my eyes, so that it sort of reminds me of my tasks. The window must be «stuck» to the desktop, and when I click the... (0 Replies)
Discussion started by: alex777
0 Replies
6. Solaris
Hi friends, i had small problem in my home pc i install solaris 10 but GUI is very big cannot view any thing, but i can open terminal where with very difficulty is there any command to re size my resolution some thing like 1024. if not i want to log in default console other than GUI only terminal... (5 Replies)
Discussion started by: kurva
5 Replies
7. What is on Your Mind?
I am on Solaris 10
cat /etc/release
Solaris 10 10/09 s10x_u8wos_08a X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009 (16 Replies)
Discussion started by: solaris_user
16 Replies
8. UNIX Desktop Questions & Answers
We are going to use Linux Desktop systems.
Which one will be the best option ?
I prefer CentOS , but in CentOS which one ?
I heard fedora will take more Ram space..!! is it ?
P.S
1. Users are developers , with eclipse , java , tomcat webserver etc.
2. System Configuration ~: 2GB ,... (8 Replies)
Discussion started by: linuxadmin
8 Replies
9. UNIX Desktop Questions & Answers
I installed KDE with Debian. The KDE desktop never appears. Much searching w/ Google and no help.
Thanks (1 Reply)
Discussion started by: Meow613
1 Replies
LEARN ABOUT SUSE
directfb-csource
DIRECTFB-CSOURCE(1) DirectFB Manual Pages DIRECTFB-CSOURCE(1)
NAME
directfb-csource - C code generation utility for DirectFB surfaces
SYNOPSIS
directfb-csource [options] <imagefiles>
DESCRIPTION
directfb-csource is a small utility that reads PNG (Portable Network Graphics) image files and generates C code that can be used to compile
an image into a DirectFB application. Below is a simple example to illustrate this.
If multiple PNG image files are passed to directfb-csource, they are combined into a single surface. The different images can then be blit-
ted from this surface using the array of rectangles that is also dumped. This can be useful for example for icons or sprites.
OPTIONS
--name=identifier
Specifies the identifier name (prefix) for the generated variables. If this option is not used, the identifier is generated from
the filename. You have to specify an identifer name when processing multiple images.
--format=pixelformat
Specifies the pixel-format of the generated inline surface. Possible values are ARGB, RGB32, RGB24, RGB16, RGB15, RGB332, A8 and
LUT8. By default the format is ARGB if the PNG image has an alpha channel or RGB32 otherwise.
--version
Output version information.
--help Print brief help and exit.
EXAMPLE
Generate a header file from a PNG image file:
directfb-csource --name=foo foo.png > foo.h
Include the generated header in your application and create a surface using the surface description from the header file:
#include <directfb.h>
#include "foo.h"
IDirectFB *dfb;
IDirectFBSurface *surface;
...
dfb->CreateSurface( dfb, &foo_desc, &surface );
OTHER INFO
directfb-csource was inspired by and uses code from gdk-pixbuf-csource, a similar program written by Tim Janik.
The canonical place to find informations about DirectFB is at http://www.directfb.org/.
Version 1.2.9 24 Oct 2003 DIRECTFB-CSOURCE(1)