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
3
votes
1 answer

Convert HTML/CSS to image (png, or any loseless format) in R

I would like to make a piece of code in R that takes a HTML/CSS page and makes a picture of it. I haven't fount any package in R that makes this process easy. I've found wkhtmltopdf but it converts HTML to PDF and then I would have to save it as an…
Geiser
  • 1,054
  • 1
  • 12
  • 28
3
votes
0 answers

Convert Spreadsheet XML into XLS

I have built a dynamic file in Ruby on Rails based in Spreadsheet XML that the user can download as an XLS file. One example of what the file content looks like is this:
bpromas
  • 684
  • 1
  • 11
  • 25
3
votes
2 answers

Powerpoint to Text C# - Microsoft.Interop

I have been trying to read .ppt files from last 3 days. I searched a lot on internet and I came up with different source code snippets but nothing was perfect. And now i tried this code, and it is not printing "Check4" because of some unidentified…
Maher Shahmeer
  • 148
  • 1
  • 10
3
votes
1 answer

FFmpeg - Requested output format 'mpeg' is not a suitable output format

I am trying to use FFmpeg to convert a video from mp4 format to an mpeg, so that I can merge multiple videos. I have a custom build of FFmpeg where I control the configuration options: ffmpeg -y -i VID_20150514_171122_12085.mp4 -an -f mpeg…
Jon G
  • 1,656
  • 3
  • 16
  • 42
3
votes
2 answers

Cascading Text file to Parquet

I am trying to convert a file into Parquet using Cascading. But I am getting the below error. Error Exception in thread "main" cascading.flow.planner.PlannerException: tap named: 'Copy', cannot be used as a sink: Hfs["ParquetTupleScheme[['A',…
user2732748
  • 97
  • 4
  • 12
3
votes
2 answers

Binary file (Labview .DAT file) conversion using Python

I work in a lab where we acquire electrophysiological recordings (across 4 recording channels) using custom Labview VIs, which save the acquired data as a .DAT (binary) file. The analysis of these files can then be continued in more Labview VIs,…
Cornspierre
  • 322
  • 1
  • 5
  • 14
3
votes
1 answer

Conversion Error on VB Script

I am using VB Script to convert ARF files to both MP4 and WMV format. The script uses the API from the Network Recording Player (which is used to view and convert Web-Ex videos which are in ARF format). However, I am experiencing a very strange…
user3254893
  • 1,071
  • 2
  • 13
  • 14
3
votes
1 answer

SAS Macro to R %sysfunc

I am currently working on converting a SAS script to R. As I am relatively new to SAS, I am having a hard time understanding the following statement - VARS=date id sales units /* create lag event variable names to be used in the RETAIN statement…
RHelp
  • 815
  • 2
  • 8
  • 23
3
votes
1 answer

Convert from Excel xlsx to xls in Java

I have an Excel 2007 xlsx file that I would like to programmatically convert to an .xls file. The xlsx file is an export from a reporting tool, and I would like to convert it to xls for better compatibility with the software stack of my application…
Bent André Solheim
  • 1,091
  • 7
  • 10
3
votes
2 answers

Fluent-ffmpeg "not a suitable output format"

I'm using the fluent-ffmpeg module for Node.js to convert audio files. I have a .mp3 file that I'd like to convert to .wma Here's what that looks like: var proc = new ffmpeg({ source: 'file.mp3', nolog: false }).toFormat('wma') …
Jack Guy
  • 8,346
  • 8
  • 55
  • 86
3
votes
1 answer

converting capistrano v2 deploy.rb to capistrano v3 deploy.rb

Trying to confer this block of code to the version 3 of capistrano to no avail. Everything is so changed. Anyone can help me on the right track to convert it ? Old version 2 deploy.rb: #require 'new_relic/recipes' require…
Rubytastic
  • 15,001
  • 18
  • 87
  • 175
3
votes
1 answer

How to Convert shapefile into map file?

I have shapefiles for mapping. I need to convert that shapefile into map file. Please help me to convert the shapefile into map file? Thanks in Advance!!!!!!!
Palanichamy
  • 141
  • 2
  • 9
3
votes
2 answers

Convert simple emaildump to maildir or mbox format

In OTRS I've got a database with emails. I have the raw emails (in eml format) in a table called "article_plain". I can easily do a dump of this using a statement like: SELECT ap.body FROM article_plain ap INNER JOIN article a ON (a.id =…
Johan
  • 74,508
  • 24
  • 191
  • 319
3
votes
1 answer

Convert vcxproj to xcodeproj

Is there anyway/tool that can directly convert a Visual Studio vcxproj file to an xcodeproj ?
Ameer Sheikh
  • 770
  • 5
  • 14
3
votes
1 answer

How to know file type without extension

While trying to come-up with a servlet based application to read files and manipulate them (image type conversion) here is a question that came up to me: Is it possible to inspect a file content and know the filetype? Is there a standard that…
Ayusman
  • 8,509
  • 21
  • 79
  • 132