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
2
votes
2 answers

Pandoc doesn't seem to use settings in docx template

I'm using Pandoc v1.12.2.1 to convert html to docx. It's working, generally, but I'm trying to get it to read in a docx template file so I can tell it to use Arial for the font and to make all headings black (instead of blue as they're coming out…
Max Williams
  • 32,435
  • 31
  • 130
  • 197
2
votes
2 answers

How to avoid gray outline artefacts when converting an eps image to pdf?

To generate vector graphics figures with LaTeX labels, I use gnuplot and the cairolatex terminal, creating the image via plot "data.txt" u 1:2:3 matrix with image notitle followed by: latex figuregen.tex dvips -E -ofile.eps figuregen # Correct the…
Alex
  • 155
  • 1
  • 13
2
votes
1 answer

"Can only read from Matlab level 5 MAT-files"

I'm trying to load a file from Matlab into my python using mat4py. I had the following error ParseError: Unexpected field name length: 43 when using import h5py from numpy import ndarray data_py = loadmat("data.mat") I followed the advise…
2
votes
0 answers

Conversion from Matlab to Python of Cross Power Spectral Density function

I am trying to convert a MATLAB program to python. I am having problems setting up the cross power spectral density function and obtain matching results with Matlab. The function used in the MATLAB code is written as follows: [Pxy,f] =…
2
votes
2 answers

Converting xls files to xlsx using python

I've got loads of 97-2003 Excel xls files i wanna bulk convert to xlsx. I found the xls2xlsx documentation but can't seem to get it to work. I have tried googling the errors and searching but to no avail. import os from xls2xlsx import…
ASG
  • 51
  • 3
  • 6
2
votes
1 answer

convert openAPI specification to a Postman collection using java/spring boot

I`m trying to convert an OpenAPI specification to a postman collection using spring boot. So, is there a library or a code segment which I can use to do this task? I searched about this but I found none. I did this earlier using an npm library. I'll…
2
votes
1 answer

Conversion of ftz file to pdf

I have recently created my own family tree on an app. But the app has created the file in ftz format. I am really having a hard time to convert it to pdf format. Can anyone help me with this. If this question breaks the community guidelines, then i…
ispostback
  • 330
  • 2
  • 7
  • 23
2
votes
1 answer

Converting docx to PDF/A with libre office writer

I am happily converting docx files to PDF via the command line (controlled via C# process calls) out of my service. Unfortunately I could not find any internet search results on how to set the options for the output PDF that the GUI offers me. I am…
rominator007
  • 1,553
  • 1
  • 11
  • 22
2
votes
2 answers

How to convert PDF Base64 into pdf then PDF into an image in C#

following is the code added: The image object is in the library.imaging. "using System.Drawing;" "using System.Drawing.Imaging;" { byte[] b = Convert.FromBase64String("R0lGODlhAQABAIAAA"); Image image; using (MemoryStream memstr = new…
Zoraiz Hammad
  • 52
  • 1
  • 1
  • 9
2
votes
1 answer

Google docs formatting, converting texts into sheets

I've had success in sending a google docs file into a google sheets and the spreadsheet managed to fill itself in correctly (it formats the text into a table, very neat) Below is an example of how I'm formatting my text: ID, NAME, MOBILE, CITY,…
user12725052
2
votes
0 answers

React: how to display most of documents on browser

Background: Here is my use case, an app that user uploads documents and will be showed as a link allow him to click. Once it is clicked, it will popup and display the actual content. e.g. like a document viewer that you can scroll to see content. I…
kenpeter
  • 7,404
  • 14
  • 64
  • 95
2
votes
1 answer

DOC to HTML file conversion with embedded fonts and inline images

I'm trying to convert Doc/Docx files to HTML. So far I have discovered using LibreOffice its possible to achieve it in headless mode. I am able to convert documents to HTML and able to get the images inline as well using the command below(in…
Vaibhav Bhuva
  • 445
  • 4
  • 15
2
votes
0 answers

Only some pygame projects works after converted from .py to .exe

I want to be able to convert .py to .exe for python 3 pygame 1.9.4 projects (on my Windows 10 computer), and I have successfully converted some files by using auto py to exe (one file, console…
2
votes
2 answers

Convert a folder of pipe-delimited text files to CSV in Python

I have a folder of .txt files which contain "|" instead of commas and I am trying to get it into CSV format. I found some code that will supposedly work, but I keep getting the error "iterator should return strings, not bytes (did you open the file…
userfriendly
  • 363
  • 1
  • 4
  • 12
2
votes
1 answer

Convert mws file to text without Maple

I would like to see the code of some mws files (made in Maple) but I don't have Maple installed on my computer. Is it possible to convert a mws file to a text file or open it without Maple?
B.D
  • 21
  • 1