Programming :: How To Create Bitmap From Raw Data In GTK?

Apr 3, 2010

The only API i have found for something like this is gdk_bitmap_create_from_data. But it requires XPM data, not raw. So, how can i make a bitmap from raw 'char[x*y/8]'?

View 3 Replies


ADVERTISEMENT

Programming :: Write Project To Grab UI Into A Image Bitmap?

Mar 28, 2011

The Project is for writing a generic program which extracts list of applications that is running on Unix, and for each application, determine if it has a corresponding graphical UI interface, is so, the program should be able to grab the UI into a image bitmap. The program should be able to run in any Unix UI framework, such as CDE, KDE, X, Motif, et al.

View 2 Replies View Related

Programming :: Create Simple Form That Will Also Upload Only Xml Data?

Nov 24, 2010

i'm trying to create simple form that will also upload only xml data. first, the user will need to upload an xml document only by clicking submit, the data will be posted to the server and the user will be redirected to uploader.php. This PHP file is going
to process the form data and do all the work.

PHP Code:

[code]....

View 1 Replies View Related

Programming :: Get Data From Serial Port Function Read() Blocks When Data Not Available?

Jun 11, 2009

I am using read() in c++ to get data from a serial port. However, if no data is available on the serial port the function blocks until dta arrives.Example code:

//------------------------------------------------------------
char m_readBuffer[255] = {0};
char* p_curChar = m_readBuffer;

[code]...

View 1 Replies View Related

Programming :: Data Directory In Automake - Data Is Always Read-only ?

May 9, 2010

I have some data files that should be distributed with my program. Using dist_pkgdata_DATA in Makefile.am, I get these files installed to /usr/local/data/share/package-name. The problem is that data is read-only, and my program needs to modify it. Playing with dist_sharedstate_DATA, dist_localstate_DATA, dist-data_DATA varibles, I got different installation directories, like /usr/local/com, usr/local/var, but data is always read-only.

How can I distribute modifiable data files with my package? I need some common directory for all users, or maybe local data in a user directory.

View 1 Replies View Related

Debian :: Where Is Font WenQuanYi Bitmap Song

Apr 29, 2015

I have installed xfonts-wqy in my newly installed Debian Jessie stable by using command

[04/29/2015,10:46:33@~]$ aptitude search xfonts-wqy
i xfonts-wqy - WenQuanYi Bitmap Song CJK font for X

But when I list the font, there is nothing about WenQuanYi Bitmap Song, as you can see here:

[04/29/2015,10:49:53@~]$ fc-list |grep WenQuanYi
/usr/share/fonts/truetype/wqy/wqy-microhei.ttc: WenQuanYi Micro Hei,文泉驛微米黑,文泉驿微米黑:style=Regular
/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc: WenQuanYi Zen Hei,文泉驛正黑,文泉驿正黑:style=Regular
/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc: WenQuanYi Zen Hei Sharp,文泉驛點陣正黑,文泉驿点阵正黑:style=Regular
/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc: WenQuanYi Zen Hei Mono,文泉驛等寬正黑,文泉驿等宽正黑:style=Regular
/usr/share/fonts/truetype/wqy/wqy-microhei.ttc: WenQuanYi Micro Hei Mono,文泉驛等寬微米黑,文泉驿等宽微米黑:style=Regular

So, my question is: Where is the font WenQuanYi Bitmap Song? And how can I use this font?

I also tried to reinstall xfonts-wqy several times, but the problem is still there. Here is some information about my Debian Jessie:

[04/29/2015,10:46:36@~]$ uname -a
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux
[04/29/2015,10:54:06@~]$ mate-about -v
MATE Desktop Environment 1.8.1

View 14 Replies View Related

Fedora :: Enabling X11 Bitmap Fonts In GTK Applications?

May 29, 2010

I'm having difficulty enabling X11 bitmap fonts for GTK apps in F13. From all I've read on this forum and elsewhere on the Internet, this normally just requires symlinking 70-yes-bitmaps.conf into /etc/fonts/conf.d, but I can't get this to work properly.

X11 bitmap fonts are available to X11. I have them working in xterms, but no GTK applications.

What I've tried so far:

- Symlinked /etc/fonts/conf.avail/70-yes-bitmaps.conf to /etc/fonts/conf.d

Manually added font path to xorg.conf to force it to be picked up:

Code:
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
EndSection
/usr/share/X11/fonts/misc is symlinked in /etc/X11/fontpath.d

[Code]....

View 2 Replies View Related

OpenSUSE :: (some) Bitmap Fonts Don't Work In KDE Konsole

Aug 27, 2010

Although they are installed in /usr/share/fonts/misc, correctly scaled and aliased, jmk Neep bitmap fonts produce garbage in KDE konsole (available in the font list but obviously not found). They work great in Gnome, XFCE and any other X terminal (except maybe LXDE terminal !?). They are OK in openSUSE 11.2 and other Linux distros (Ubuntu, Fedora, etc).

View 4 Replies View Related

Ubuntu :: Bitmap Fonts In WMFS Taskbar

Jan 23, 2011

I'm a newbie Linux user and would like to know how to get bitmap fonts in WMFS' taskbar without anti-aliasing.

So I guess what I want in simple terms is to get blurry fonts like this to become clean and sharp like this.

I was guessing that it had something to do with .fonts.conf and tried out a lot of different font configurations that I found online.

View 2 Replies View Related

Software :: Convert From A Bitmap To Vector File?

Jul 16, 2010

How would I convert from a bitmap file to vector graphics?

I found this inkscape tutorial, but it only converts it into b&w vector graphics. Is it possible to do it preserving at least some of the original colours?

View 1 Replies View Related

Slackware :: Change The Bitmap Shown When Booting

Mar 4, 2010

I'm using Slackware 13.0. When Slackware starts to boot up, there is the picture of a Penguin displayed at the top section of the screen. How do I specify a different picture? Is it in some script that I can modify?

View 2 Replies View Related

Red Hat / Fedora :: How To Create Data Source

May 30, 2011

I am working in Redhad linux, how to create Data source Name in Linux..

View 1 Replies View Related

General :: Prevent Firefox From Using Bitmap Fonts At Certain Zoom Levels?

May 1, 2010

In Firefox 3.6 on Ubuntu 9.10, certain sites seem to use bitmap fonts for any fixed-width fonts, but only at specific zoom levels. This site and other Stack Exchange sites are among the affected sites, and of course the default zoom level is affected. At unaffected zoom levels, I get the expected smooth curvy fonts. How can I make Firefox use the nice curvy smooth fonts at all zoom levels?

Edit: Adding example code for my own reference.

View 1 Replies View Related

Ubuntu :: Create New Particion For Storaging Data

Nov 6, 2010

I am usin ubuntu 10.10 and I want to create a new particion for storaging data. I have root, home and swap particion but I need one more like data storage. How can I create it during instalation.

View 1 Replies View Related

Red Hat / Fedora :: How To Create Postmortem Data Logger

Mar 23, 2011

This is VL Chowdary, a software engineer in Bangalore,India.I am currently working on a project that deals with "Creation of Postmortem data log file on Linux platform".The project is on Fedora 12 with Kernel2.6.31.5 version.For that i need following things.1. Find the location of core utility in the kernel.2. Find the source file that consists of actual implementation of the core utility (On Fedora's kernel 2.6.31.5)3. Based on that i want to implement a core file with my own project requirements.4. Build the kernel with the above implemented corefile replacing the existing one.I couldn't get the source file that contains the implementation of core utility.

View 2 Replies View Related

Ubuntu :: Create A Partition Without Losing Data?

Apr 7, 2010

I have a 160gb hard drive with no partitions. Ubuntu runs on the entire disc. I want to cut off 60gb from my file system as a storage drive without losing the data that i already have on it.

I don't want to reinstall Ubuntu and cannot afford to lose all my data. Is it possible to do so, without having to reinstall the OS.

I downloaded Gparted, whats next?

View 5 Replies View Related

Software :: Create Multiple Cd's Containing The Data Of One Tar.gz File?

Apr 17, 2011

i want to create multiple cd's containing the data of one tar.gz file of course i can use data dump (the dd command) to cut the tar.gz into 700 MB pieces. yet then i must calculate the exact location where to cut, and use the skip, seek and count parameters to proceed. Does anybody here know, software that automatically creates 700 MB parts of a single file?

View 2 Replies View Related

Software :: Create Two DVDs With It As Simple Data?

Mar 8, 2010

GNU/Linux kernel 2.6 Suppose I have 7.5GB file a I want to create two DVDs with it as simple data. Can I do this? And how do I retrieve the file afterwards?

View 4 Replies View Related

Programming :: Convert The String Data Type To Other Primitive Data Type?

Mar 4, 2011

I am trying to generic way to convert the string datatype to other primitive data type. To achieve, i used Template . But i getting error and couldn't resolve the issue and error reported is also clueless.

Code
====
#include <vector>
#include <iostream>
#include <string>

[Code].....

View 7 Replies View Related

Debian Multimedia :: How To Create DVD Data From Console In Jessie

Nov 25, 2015

i need create a DVD data from shell.I try this but nothing: # genisoimage -V "DVD1" -R -hide-rr-moved -J DVD1_Shapter1_8/ | wodim -v -eject dev=/ dev/dvd1 -the folder only contain 8 video in .mpg extension,

View 1 Replies View Related

Fedora :: RAID 1 - How To Create New Array Without Losing Data

Jan 1, 2010

I have a software RAID array using mdraid that consists of two 1.5TB drives that I use for storage, the array is mounted at /Storage. I am running out of space in the array so I ordered two more 1.5TB drives to create a 4 drive RAID 1+0 array which will be 3TB big. My question is how do I create the new array and not lose any data?

The drives and partitions are sdc1, sdd1, and soon to be sde1, sdf1. I currently have 4 RAID arrays (md0,md1,md2,md3). I think I can create the RAID 1+0 array with the two new drives, copy the data from my current array to the new one, remove the old array, then add the two original drives to the new array. But I wanted to ask on here first to make sure my data doesn't go poof.

View 1 Replies View Related

General :: How To Create Disk Image Of Actual Data

Nov 15, 2010

Suppose I have a 80 GB hard disk (sda) with 4GB of contents. Using a dd to copy to a different disk

Code:
dd if=/dev/sda of=/dev/sdb
copies all the contents (including free space). So sdb also needs to be 80GB.

You will notice that in VMWare or VirtualBox disk images, it is possible to set the disk to use only the amount of space of actual data. So a 80GB virtualbox/vmware image with 4GB of contents will be 4GB.

Is it possible to do that with an actual hard disk (sda) image? I want to create an image of an actual hard disk, copy it to DVD and transport it (in mail) for restoration on another computer (having same hard disk).

View 6 Replies View Related

General :: Free Command Line Tool To Convert SVG To PDF And/or Some Commonly-used Bitmap Format?

Jun 29, 2011

Is there a free linux command line tool to convert SVG to PDF and/or some commonly-used bitmap format (for example PNG)?

View 2 Replies View Related

General :: Create A Data Source In Tomcat 6 That Points To Mysql?

May 30, 2010

I am using liferay5.2 with tomcat 6. after installation of liferay5.2 i am unable to configure the datasource that points to the database mysql.without this liferay wont function. how to create a mail session in tomcat that points to the mail server. i am using fedora 6.

View 5 Replies View Related

General :: Unable To Create Graphs With Rrdtool / Why No Data Coming Into File?

Sep 6, 2009

I was trying to do some graphing of the Disk Usage of the my root partition.

I tried it with rrdtool,but I am not able to create any graph.

I followed the below steps

1. Creating a rrd database file

rrdtool create diskusage.rrd --start N DS:Usage:ABSOLUTE:600:1:100 RRA:AVERAGE:0.5:1:432

I then updated the rrd file with below cron entry code...

Why no data is coming into the rrd file ?

View 1 Replies View Related

Fedora Hardware :: Trying To Mount Drive - Create An Ext4 Partition To Move The Data

Jun 12, 2010

I just installed F13 x86_64 on a system that used to be running Windows 7.

The boot drive is a SATA drive attached to the motherboard which is working fine.

However, my data drive is an NTFS partition filling a 3.6TB SATA raid.

It's GPT--Gparted sees 3 unknown partitions, and gdisk shows:

Code:

How do I mount this in Fedora 13? I had intended to shrink the NTFS partition so that I can create an ext4 partition to move the data to. Will this be possible?

I've got a LOT of valuable data on this drive, and nothing else big enough to store it.

View 3 Replies View Related

Ubuntu :: Reformatted Iomega Prestige Usb Hard Drive But Can't Create Folders/save Data

Mar 5, 2010

Used gparted to format a brand new iomega prestige 1 tb usb hard drive (ntfs) to ext4. The problem is that I can't create folders from nautilus because I don't have permission (root). There is one folder present already lost + found that appeared after reformatting. i can't access that folder because of permissions. Was any of this supposed to happen after formatting an external drive and how can I fix this? I intend to use grsync to back up important folders but can't create folders from grsync also. The only account on ubuntu is mine and i have access to root privileges.

View 9 Replies View Related

Ubuntu Multimedia :: Pure Data - CSound And Supercollider - Create My Own Effects And Synths And Use Them In My Composition

Jun 19, 2010

I'd like create my own effects and synths and use them in my composition. I googled around and I discovered a lot of language (graphical and not) to create sound and music. But I don't understand if they can be used to create (with wrapper or indirectly) VST FX and instrument. I need to create something that can be impoted in Cubase and having a basic GUI to change its setting and attribute!

I think SuperCollider is cool, but it looks not to create something importable via VST... Am I wrong?

What about CSound and Pure Data?

View 1 Replies View Related

Server :: Mdadm & Raid6: Does Re-create(with Different Chunk Size)+resync Destroy Orig. Data?

Oct 14, 2010

I'm having issue with raid6. I already created a thread in the "Linux -General" forum, but it seems, there is no right audience

[URL]

View 1 Replies View Related

Software :: EXT3-fserror: Inode Bitmap For Group 4 Not In Group

May 25, 2011

I've been tasked with fixing a Red Hat system that dies with a kernel panic during the boot stage:

Code:

EXT3-fserror (dev sda1): ext3_check_descriptors: Inode bitmap for group 4 not in group (block 67239937)!
EXT3-fs: group descriptors corrupted!
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument

I can boot into a Rescue CD, but I'm a bit out of my element because I don't use EXT3 myself, and I've never had to repair a corrupted file system before.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved