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?
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]'?
I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.
Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?
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
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
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).
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?
I get an error when trying to convert a .avi file to a .iso file using Devede. If I leave the "Create a menu with the titles" option as is I get no error. But I don't want any slideshow so I untick that option. I then get this error when the process is almost done; Failed to create the DVD tree Maybe you ran out of disk space I do have enough disk space so that can't be the problem. Anyone know what to do about this problem?
I'm looking for a tool that can directly convert mp3 file to a swf file. Tried ffmprg - 'ffmpeg -i master.mp3 -ar 22050 -ab 32 -f swf -y -vn new.swf', output is as follows:
I found a way to perform this task using ffmpeg to convert the mp3 file to a wav file, and converting the wav into a swf file using swftools (wav2swf), although this is not a good option because the output swf file size is very big - for a 12mb input 320kbps stereo mp3 file, the swf file is 25mb. Also downloaded a free direct mp3 to swf conversion software, which had an output swf file - with the same 12mb mp3 file - of ~400kb.
The requirements I have from the tool are:
1. Can be ran from the shell.
2. Direct conversion, or an indirect one that will produce a small output swf file.
In a project I'm working on with a few other people, I got the task of writing an assembler. The last thing I do is convert the commands into a binary representation, and jam it into a file. Now one of my teammates said he'd like to be able to "reference" the code within another program. He said he'd be able to do this if the file I output is a Linux object file. I'm thinking it'd also work as an executable. Anyway, he said he'd like to be able to grab the file and reference the binary by address. I'm still fuzzy on this, and if you're confused with what I said here, please tell me so I can ask him for better details.Anyway, I'm aware that gcc can compile files to ".o", but that's only for C/C++, and my file is just binary. I'm also aware of "ld", but I haven't seen any use of it to help me. I'm happy to hear suggestions as to what I can do. If anything, I think I'll implement a few functions to grab the bits and hand them to him in an array or something.
Anyone know of any programs to convert a postscript file to a gerber file? LinkCAD can do it, but, it is very expensive and I can't get the demo to run.
trying to convert a avi file with subtitles into a iso file ready for burning on to a disc, I am using DeVeDe to convert the file but I keep getting the error SPUMUX when trying to convert. I have no idea on what to do with this, is it because I am trying to convert to ISO? should I just try to convert to MPEG instead would that stop the error?
i'm trying to convert a html file into a text file when i simply run "html2text <filename>" the output displayed is the way we want but when i redirect the same using "-o" or ">>" the file is having extra characters in it. i even tried -ascii,but no much use.
I am trying to convert my batch file into a .sh file and i think i have it perfect but it just will not work, so obviously not perfect. This is the code for my batch file.
[Code]....
This works perfectly on my own computer without any problems. I want to host this on my Linux VPS (CentOS 5) and need it to be converted into run.sh. This is the code for my run.sh.
Recently I tried to convert a .flv file to an mpeg file using ffmpeg. Although I changed directory to the directory in which the.flv file resided FFMPEG said the file did not exist. However when I gave the "ls" command the file was present. Where is my mistake?
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.
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?
i working with a simulator tool that i need to pass to it a file in .BIN format, basically i need to convert from a tex plain file to BIN file How can i do that? there is some command(s) that allow me do
I have a file of 2GB size in hex form. This is a log file from the server which I converted to hex as the file got corrupted.Can anyone tell how to convert this hex file to ASCII?