0
votes
0answers
17 views

Imagemagick: Advanced JPG to PNG convertion

How could I do something like this with Imagemagick?: imagemagick -inuput:0*.jpg select-by-color:ffffff -threshold:15 -fill:fffff -mode:greyscale -mode:index:17 -output:Original_filename.png Using ...
1
vote
1answer
23 views

How to convert a column of hex to dec in gawk, strtonum in gawk gives erroneous results

I am trying to script a database from a network stream. The network stream after being heavily sed'd drops a three column file that looks something like this called file.db ...
0
votes
1answer
52 views

Alternate method to render SVG line art from a script

I want to render a significant number of SVG files (containing line art) to PNG format (and possibly other formats), so I'm planning to write a script to do it for me. The problem is that I need to ...
1
vote
2answers
308 views

Batch convert to UTF-8 a directory having both UTF-8 and CP-1251 files

I have a directory containing files, some of them are UTF-8, some are CP-1251. I want to convert the ones that are CP-1251 to be UTF-8, but without corrupting the UTF-8 files. I tried using iconv -f ...
3
votes
2answers
327 views

On Linux, how to export .svg files into a vector format readable by Powerpoint?

I am working on a Linux computer, and have a bunch of .svg files. I have to give them to a client who will insert them into a Powerpoint presentation (the client is working on a Windows machine). I am ...
0
votes
1answer
221 views

Unable to convert m4a to mp3

My audio container is M4A, but codec is AAC. When I try to convert it into MP3 I got an error: afconvert ~/Desktop/src.m4a -f MPG3 -d .mp3 ~/Desktop/dst.mp3 Error: ExtAudioFileSetProperty ('cfmt') ...
2
votes
0answers
86 views

Is there a path from OpenSCAD to WebGL?

tl;dr version, Does a software path exist to convert from openscad input to render on a website via webgl? What I'm trying to do is display OpenSCAD created designs uploaded via post on a LEMPy ...
2
votes
1answer
483 views

How to convert A4 size postscript to pdf in Linux

I am trying to convert A4-sized PS documents to PDF. I am using PS2PDF, but it clips off the right side of the (landscape) page. Some googling has revealed that ps2pdf always crops to letter-sized ...
2
votes
1answer
184 views

convert image at command line to console stream

I'm looking for something like ImageMagick's "convert" but that outputs to the console. The obvious answer is "create a temp file and cat that" but I'd prefer not to have to go to the trouble. Are ...
0
votes
2answers
765 views

Changing the Line Ending from Unix/Linux to Windows from terminal

I have a bunch of text files created in Ubuntu and when I access them on a Windows machine using DropBox they are not properly formatted because of the Line Ending difference between Unix/Linux and ...
4
votes
1answer
817 views

Auto-rotate rotated images with mogrify

Some of my images have been taken rotated but kept this data. The problem is that, when using mogrify to convert them from JPG to png, that data seems to dissapear. For showing this problem, I think ...
0
votes
2answers
111 views

Linux machine to be converted to NAS [closed]

We have a (pretty old) Linux machine running crunchbang linux (64 bit). The machine was used for some time just as a storage space, files were managed mainly via SCP and SSH. But due to the increased ...
2
votes
1answer
137 views

Abiword document conversion output to stdout

I am trying to convert documents using abiword and then would like to output the result to stdout, so that I can use that in my php application. I am able to convert, but was unable to find anything ...
3
votes
3answers
3k views

Convert image to uncompressed PNG from the command-line

I have a compressed PNG image compressed.png. I can convert it to an uncompressed PNG decompressed.png using GIMP (saving as PNG and setting compression level to 0). How can this be done on the ...
1
vote
1answer
1k views

PDF to PDF/A converter and validator for .NET or Linux

I want to convert PDFs to PDF/A under either Windows or Linux. If Windows I want a managed .NET library (with a DLL, not installation). If Linux then the validation file must be readable for code. ...
1
vote
1answer
350 views

How to convert HTML tags to RTF or any rich format text from the Linux command line

How can I convert HTML tags to rtRTF or any rich format text using sed or any linux command-line tool? I've achieved to strip them with sed 's/<[^>]*>//g', but I need the ...
1
vote
1answer
2k views

Linux convert jpeg to bmp, xsetroot complains “bad bitmap format”, how to fix this?

I am creating a JPEG file, converting to BMP then using with xsetroot, but that is failing. 1) Make a JPEG file $ convert -size 800x600 xc:transparent \ -font Bookman-DemiItalic -pointsize ...
3
votes
1answer
3k views

x264 encoding speed, what should my expectations be?

I am running Ubuntu 10.10 (maverick) on an HP Pavillion dv3 with core2duo 2.29 GHz, NVidia Geforce G105M (512MB) with CUDA and 4GB RAM. I have the latest versions of ffmpeg and x264. I recognise that ...
2
votes
1answer
969 views

Using convert to covert multiple jpg files to pdf - pdf quality

I used the command convert *.jpg out.pdf to convert multiple jpg files to pdf. But the quality of the output pdf is very low. Is there a way I can increase the quality?
2
votes
1answer
435 views

ffmpeg or mencoder - Convert a video using another one as a reference format-wise

I have two videos from different sources. I want to convert one of them so that its format, codec, framerate are the same as the other one. Is there a one-liner for it (where I can give the ...
1
vote
0answers
102 views

Command line Linux any document format to PDF converter? [duplicate]

Possible Duplicate: How do I convert this filetype to pdf? I am looking for tool to (similar to ooffice) convert to PDF. I know where from .odt can be converted to PDF. How about .doc or ...
2
votes
2answers
3k views

JPG files are too small when converted from PDF with imagemagick

I'm on Ubuntu 10.04 with imagemagick. I used this command: convert myfile.pdf -density 300 file.jpg This works well, but the JPGs are only about an inch high. How can I preserve the paper size in ...
1
vote
2answers
404 views

open office document conversion uses 100% CPU

When I try to convert a word document using the ooextract python script from open office like /usr/local/bin/ooextract.py myDocument.doc myDocument.pdf the open office deamon (sOffice.bin) takes ...
0
votes
1answer
1k views

How do I convert an HTML email saved as a text file to a PDF file from the Linux command line?

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 ...
5
votes
1answer
3k views

hexdump vs xxd format difference

I was searching for how to do a reverse hexdump and found xxd mentioned. However, it does not seem to work with simply: xxd -r hexdumpfile > binaryfile I then compared the difference between ...
2
votes
2answers
3k views

How to convert a text file from Shift JIS to UTF-8 and back from the terminal

In order to make this conversion I have to use a text editor. This is tedious. Is there an easier way to do it, like some program I can run from the Linux or OSX terminal?
0
votes
1answer
329 views

F00 Music Tags to respective name, album, and artist [duplicate]

Possible Duplicate: Get songs off of Windows iPod and onto a Mac I'm looking for a program that will take all of my f00 files (extracted off of my iPod) and will convert their names, and ...
1
vote
2answers
919 views

Avoid ffmpeg to lose the flv files keyframes

I use ffmpeg to convert my files, but when I do so, I lose the keyframes metadata from my flv files. The command I use right now is: $/usr/local/bin/ffmpeg -i %s -ab 96k -ar 44100 -b 500k -r 25 ...
3
votes
1answer
1k views

Linux: concatenate several images into a PDF file with several images per page

I know that ImageMagick's convert program can be used as follows to convert a collection of images -- say, in PNG format -- to a PDF file: convert *png output.pdf The problem with this is that each ...
0
votes
2answers
1k views

Converting Word document to TIFF?

I have a CentOS 5.6 box and was wondering if there are any tools for Linux that can convert a Microsoft Word document to a TIFF file?
3
votes
1answer
933 views

Converting CMYK pdf to RGB results in white lines and some font problems

I use the following command to convert a pdf from CMYK to RGB - I dont have access to the generation of these PDFs. The reason I'm doing it is so that the colours look correct on an iPod device. ...
12
votes
5answers
9k views

How to convert a 1 page PDF to a 2 page per sheet PDF?

I would like to print a PDF so that on the front of the first page are the first two pages, on the back the 3rd and 4th and so on. ----------------- ----------------- | | | ...
8
votes
4answers
3k views

Is there a way to convert SWF animations to movie files on Linux?

Is there any Linux tool that will take a SWF file and output some kind of video format? Note that I don't want a tool which will re-encode an embedded FLV or MP4, I want to take a standard Flash ...
8
votes
6answers
13k views

Converting a PDF to black & white with ghostscript

Similarly to this question: Convert a PDF to greyscale on the command line in FLOSS? I have a PDF-document and want to convert it to pure black and white. So I want to discard halftones. To ...
1
vote
1answer
712 views

converting from pdf to djvu

How do I convert a PDF book to djvu? I'm on linux kubuntu 8.04.
0
votes
1answer
717 views

Batch converting video from avc1 to xvid

I need a way to batch convert 720p video files from avc1 to xvid in Ubuntu 10.04. I'm not terribly concerned about file size, but I do wish to retain the picture quality as much as possible. I believe ...
5
votes
4answers
4k views

Timezone conversion by command line

I know about http://www.timeanddate.com/worldclock/converter.html I can't figure out how to query http://www.google.com in a sane natural format like "5pm BST in PST". Or do I have to write such an ...
4
votes
1answer
5k views

Convert DDS to PNG using linux command line

I need to convert thousands of DDS images to PNG format in Linux, preferably in command line. Is there any program available for such task?
25
votes
9answers
56k views

How to convert Word (doc) to PDF in linux?

I have a set of files in .doc format, that need to be converted to .pdf format. I am using Ubuntu linux.
1
vote
1answer
978 views

Looking for tex to html converter

I need to convert a very large latex project (made up of many .tex and style files) into .html (or something similarly non-.pdf). Can someone recommend a quality converter program? Preferably, one ...
5
votes
2answers
7k views

How to calculate proper amount of inode/block sizes for a linux filesystem

I have an old reiser filesystem which I'm going to convert to Ext3. The problem I have is to determine the proper block- and inode-sizes for this partition. The partition is 44 GB large and has to ...
1
vote
3answers
102 views

Linux: grab audio from a video clip

I'd like to take audio track from a video clip in FLV container and save it to something playable by portable music players. Are there any easy to use tools for that? I know how to do that using ...
4
votes
3answers
6k views

Open source command line subtitle converter

Are there any open source, command line, subtitle converters - preferably for Linux?
1
vote
4answers
10k views

How to recode to UTF-8 conditionally?

I'm unifying the encoding of a large bunch of text files, gathered over time on different computers. I'm mainly going from ISO-8859-1 to UTF-8. This nicely converts one file: recode ISO-8859-1..UTF-8 ...
2
votes
4answers
338 views

Convert itouch mp4 to ipod video mp4 with Linux

Anyone know how I can convert mp4 files meant for the iphone/itouch to a a video files that will work on a regular ipod that supports video with Linux. Command line would be better, multicore support ...
4
votes
3answers
3k views

GIF to FLV software on GNU/Linux (or cross-platform)

Do you know how to convert an animated GIF (only two pics in loop) to FLV or AVI? I didn't search for a Microsoft alternative that maybe could run with WINE, because I really prefer a native one; ...
14
votes
4answers
24k views

How do I convert a DjVu document to PDF in Linux using only command line tools?

I've got some documents in DjVu which I'll like convert to PDF. Is there a way to do this using command line OSS tools?
2
votes
3answers
6k views

Mobipocket Creator Equivalent For Linux [closed]

I'm a Kindle DX owner and I normally download some free PDFs from the internet, but I prefer to read then using the PRC format. As I'm a Linux user, I can't use Mobipocket Creator, then I want to ask ...
1
vote
3answers
3k views

Creative CMV files converter

Is there any application in linux-land that can encode files into the Creative's own .cmv? I tried their C.Centrale, but it doesn't seem to work well through Wine. I need one that will work with Zen ...
5
votes
3answers
2k views

AVI to iPhone Converter for Linux OS?

Is there any free GOOD video converter for Linux, which can also convert from AVI to iPhone? I need something with good quality. Using Linux Mint.