Questions tagged [file-conversion]

Use this tag for questions about conversion from one file format to another. If applicable, use a more specific tag like [image-conversion], [video-conversion] or [pdf-conversion].

This tag applies to any kind of conversion from one file format to another. However, certain types of file should use a more specific tag:

780 questions
133
votes
1 answer

What is the easiest way to convert an Excel spreadsheet with tabular data to JSON?

I want to convert spreadsheet data from Excel or Open Office saved as *.xls to *.json Data is not sensitive File is not very large
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
81
votes
12 answers

Convert a dta file to csv without Stata software

Is there a way to convert a dta file to a csv? I do not have a version of Stata installed on my computer, so I cannot do something like: File --> "Save as csv"
Brian
  • 26,662
  • 52
  • 135
  • 170
44
votes
8 answers

converting from .py to .ipynb

I wrote a juypter notebook that has been converted to .py somehow. I would like it back in the original format. Does anyone know how to do that? There is a previous stack overflow question about this, but the solution doesn't work for me. Converting…
SherbertTheCat
  • 655
  • 2
  • 7
  • 9
41
votes
7 answers

Quickly Convert (.rtf|.doc) Files to Markdown Syntax with PHP

I've been manually converting articles into Markdown syntax for a few days now, and it's getting rather tedious. Some of these are 3 or 4 pages, italics and other emphasized text throughout. Is there a faster way to convert (.rtf|.doc) files to…
Sampson
  • 265,109
  • 74
  • 539
  • 565
33
votes
9 answers

Replacing vector images in a PDF with raster images

Is there any easy (scriptable) way to convert a PDF with vector images into a PDF with raster images? In other words, I want to generate a PDF with the exact same (un-rasterized) text but with each vector image replaced with a rasterized version. I…
33
votes
6 answers

How to convert PDF to HTML?

Is there a proper library which I can use to convert PDF to HTML or some other format that can be converted to HTML easily? I searched similar questions, but to no luck. I want to be able to extract text from PDF's, possibly images. I'm not looking…
Luchian Grigore
  • 253,575
  • 64
  • 457
  • 625
30
votes
6 answers

"Standard" RGB to Grayscale Conversion

I'm trying to write a converters algorithm that takes a JPEG image and returns its PGM (Portable Gray Map) version. The problem is that I can't understand how the "official" JPG->PGM convertitors work in terms of what value to assign to the final…
TheUnexpected
  • 3,077
  • 6
  • 32
  • 62
26
votes
9 answers

Recover PDF to LaTeX

I know how make a PDF from LaTeX. Is there a way to extract the LaTeX-code from a PDF I created earlier? How about if someone sends me a PDF and I like the formatting. Can I extract the LaTeX from it?
Mawnster
  • 673
  • 3
  • 11
  • 18
25
votes
6 answers

HTML to IMAGE using Python

Here is a variable html_str, it is a string that contains html tags and contents in body. I am created a .html file from this string using the below code in python. html_file = open("filename.html",…
Manu __
  • 253
  • 1
  • 3
  • 4
24
votes
7 answers

Is there any free DBF file converter?

I have only found trial versions of these converters. Does anyone know a free one? Any of the following target formats will do: CSV, MDB, SQL, XLS
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
22
votes
4 answers

Command-line tool for converting TTF/OTF fonts to SVG

Does anyone know of a command-line tool that will convert both TTF and OTF fonts to SVG fonts?
David Jones
  • 10,117
  • 28
  • 91
  • 139
21
votes
2 answers

Convert .xlsx file to .csv file using PHP

I'm looking for a low overhead way to convert a .xlsx file to a .csv file using PHP without consuming excess memory or loading extraneous classes. Anyone?
Avigayil
  • 247
  • 1
  • 2
  • 4
20
votes
5 answers

unoconv not working while trying to convert. throws Error: Unable to connect or start own listener. Aborting

I am trying to convert docx to pdf using unoconv, but getting Error: Unable to connect or start own listener. Aborting. when I run unoconv -f pdf 1234.docx. So, there must be some listener. I then started the listener via unoconv --listener. I tried…
20
votes
8 answers

Convert .odt .doc .ods files to .txt files

I want to convert all the .odt .doc .xls .pdf files to .txt files. I want to convert these files to text files using a shell script or a perl script
Akhtar
  • 201
  • 1
  • 2
  • 3
18
votes
2 answers

How to convert .Rdata format into text file format

I am a novice in R and I am trying to convert .Rdata format file into comma delimited text file format. Can someone help me out regarding this?
Teja
  • 13,214
  • 36
  • 93
  • 155
1
2 3
51 52