Questions on converting data, graphics, sound etc. from Mathematica into other file formats.

learn more… | top users | synonyms (1)

6
votes
1answer
133 views

Extracting PNG images from AVI movie

I have written the following code to extract all images from an uncompressed AVI movie and to save them as sequential PNGs. ...
3
votes
1answer
155 views

RawJSON vs JSON format

It has been very recently, since the release of version 10.3.0 I think, that Import/Export and ImportString/ExportString functions accept a format parameter with the value of "RawJSON". The ...
1
vote
1answer
191 views

Extracting data from NDSolve result

Normally I wouldn't ask such question before even read the material from the Wolfram Documentation about what I'm trying to do but this time I have a pretty tigh dead end. I apologize for that. So, ...
4
votes
1answer
89 views

How to combine two large tables and export them to .txt file?

I have two large tables. I shall post only 2 rows out of 100+. I shall name the first table blabla and the elements are: ...
0
votes
1answer
38 views

Exporting multiple sizes of the same image

I have generated an image using (for example) out = Plot[x^2, {x, -2, 0}, PlotLegends -> {x^2}] and would like to export two versions of that image, one that ...
3
votes
1answer
113 views

Mathematica does not import .mat file correctly [closed]

I have .mat file that contains a binary (0,1) matrix with size 100*100*100. I have used this syntax to import it in mathematica ...
1
vote
1answer
49 views

Export data to a file with row indices added

While Export["file.txt", A, "Table"] exports a file of data, A represents a data set, in column form the question is about how to export, or print, a set of data ...
0
votes
2answers
74 views

From matrix to eps or png

My output is a matrix. I want to save this matrix as a picture whose format is eps or png. How can I convert it? Thank you.
15
votes
2answers
356 views

How to export textures?

Is there any object geometry format for which Mathematica supports the exporting of textures for external (non-Mathematica) use ? If not does anyone know of work arounds? All the texture primitives ...
0
votes
1answer
75 views

Why vertices number increased when importing .STL file

I import a .STL Import[*.st,"VertexData"] file on mathematica and I remark that the number of vertices is increased comparing to the number given by Blender. ...
1
vote
0answers
16 views

Naming exported files after corresponding input files

I'm a relatively new user of Mathematica, and currently using it for image processing of multiple tiff movies. I am also exporting tiff files, and I would like a way of naming my exported files after ...
2
votes
0answers
48 views

Exporting or save graph to pdf, when will the rasterization occur?

For simple graph Plot[Sin[x], {x, 0, 10}] No matter right click save as pdf or export as pdf, the result is vector image. But for ...
2
votes
1answer
42 views

Why do I sometimes get errors when exporting 3D graphics which have been translated or scaled?

When I try and export 3D graphics, I get an error if some of the graphics complexes are translated. such as: ...
0
votes
1answer
41 views

Import a 3D CSV file results in the wrong dimensions

I exported a some of my data to a file, the data looks like this before the export ...
4
votes
1answer
275 views

Why does setting the ImageResolution to a higher value result in a smaller picture?

Here's a way to reproduce the issue: export the following picture ...
6
votes
1answer
140 views

Bug in Export - known by Wolfram Support - upper plot margin depends on string length of upper horizontal axis label

Bug introduced in 9.0 and persisting through 10.3 or later ! See at bottom the answer by Wolfram Research. I am running Mathematica 10.3. For test purposes I have used the following code: ...
1
vote
1answer
93 views

How to import an external pdf file leaving text as text?

When Importing in Mathematica (v10.3) a pdf file containing some text, the text is "vectorialized", meaning that it does not seem to be loaded as text, and re-...
1
vote
1answer
119 views

Reducing the size of exported .eps files to the minimum necessary

Running version 10.3 on my Power Mac with 22 Gbytes of memory I can create and export an .eps or .pdf graphics such as, ...
0
votes
0answers
30 views

Overwriting a file with export[SystemDialogInput[]]

When I use the following code: Export[SystemDialogInput["FileSave", "myP1P3bmp.png"],Image[myBitMap, "Bit"], "PNG"]; I get a somewhat unexpected behavior. I can ...
2
votes
1answer
41 views

How can I export to HDF5 with a specific Datatype (“DataFormat”)

I am trying to export some largish integer arrays to HDF5 and know that every entry in them would fit into an unsigned 8 bit integer array. As the default "DataFormat" for export that Mathematica is ...
-1
votes
1answer
80 views

Export table to latex - copy as

I have the following final expression which is a table (I am posting only a subsection of the table to illustrate the problem). I am pasting it from mathematica without table formatting (to the bottom ...
1
vote
1answer
72 views

Edit header information of a DICOM file and export it again

I have some DICOM files and want to edit a part of the Header and export the DICOM files with this edited header. I know how to Import a DICOM files and extract the Header Information, but how to ...
7
votes
0answers
122 views

How can I export 3D plots as vector graphics? [duplicate]

Consider the following simple example code: plot3D = ListPlot3D[{{0, 0, 1}, {1, 0, 0}, {0, 1, 0}}, Mesh -> All]; Export["plot3D.pdf", plot3D] As clearly seen, ...
6
votes
0answers
116 views

How can I export a notebook as a single huge pdf page?

I have a notebook that I would like to export as a pdf file. I currently want to send this to a collaborator, but in general I'd like to keep the technique to future-proof my notebook collection ...
0
votes
0answers
56 views

Mathematica creates a huge eps file [duplicate]

I use the following code (based on the responses in my recent relevant questions) in order to generate randomly distributed unidirectional cylinders in a cylinder of elliptical cross section. ...
1
vote
1answer
139 views

FrameRate option for Manipulate [duplicate]

I'm using the following code ...
1
vote
2answers
117 views

Trouble adding elements to array [closed]

I need to generate array and export it to file. For n = 1 , second element must be 0 For n = 2.. 819, second element must be 1 For n = 820.. 1637, second element must be -1 For n = 1638.. 16384, ...
1
vote
0answers
59 views

Exporting Tooltip data to HTML [closed]

It would be very useful if one could export interactive Tooltip graphics to an HTML file like: ...
6
votes
1answer
69 views

Exported graphics have issues with word wrapping

I am trying to export a plot as an image. My actual plot uses Show to combine a ListPlot and several Plots, with a common legend. The code below is a dummy version that produces the same problem: <...
7
votes
1answer
550 views

Causes “libGL error: failed to load driver: swrast” an Huge Overhead in Parallel under Version 10.3?

Under Linux (SUSE Linux Enterprise 11) for Mathematica Version 10.2/10.3 I observe the following error in parallel ...
2
votes
0answers
55 views

Problem with exporting plot data into .txt: not whole range is exported [closed]

I need to export my data into a .txt document to import it in $\LaTeX$. For a given M, I used the follow code to export: ...
1
vote
1answer
95 views

Multiple Import and Export of Images

I wrote a program that imports an image and creates three new images, for example "black and white" or "grey scaled". My problem is that i work with around 200 images and it takes a long time to ...
5
votes
1answer
194 views

Version 10.3 PDF export [closed]

Before I upgrade to Version 10.3, can anyone tell me if the issues with hyperlinks and PDF export have been solved? Here is the original post and issue I am referring to. Hyperlinks not preserved ...
0
votes
1answer
63 views

Exported picture has less MB than imported

I have to duplicate a picture several times – and each time the duplicate shall have another name. I do this with mathematica 10 with the following easy code: ...
13
votes
0answers
203 views

Is there any way to export vector graphics with shading?

This has irked me for a while as I really feel its a significant shortfall in Mathematica's abilities but maybe I am missing something. I would like to export simple graphics with shading in a ...
1
vote
0answers
70 views

How to import and export msgpack?

MessagePack is an efficient binary serialization format, I find it much better than JSON. There is currently (as of v10.3) no support for this in Mathematica. Does anyone know of third party ...
5
votes
2answers
358 views

How can I insert an EPS file exported from RegionPlot into MS Word?

I generate a figure using RegionPlot and then Export it as "EPS". When I insert this picture ...
0
votes
1answer
131 views

Follow up: how to evaluate this double sum quickly

This question is a follow-up to my previous question. The code I use at the moment is the following: ...
1
vote
2answers
87 views

Export numeric data with preset decimal places

I have a table of pairs of numbers, each with 300 decimal places, which are all important. If saved using Export["data.dat", data] and then imported back via Import["data.dat"] - then the 300 decimal ...
2
votes
0answers
109 views

Export Mathematica to $\LaTeX$ properly

I am simply trying to convert an existing sample in Mathematica to $\LaTeX$. For example, if I open a new Mathematica notebook using styled templates such as Journal article and save it as $\TeX$. ...
1
vote
0answers
56 views

errors STL export, contains rotate or GeometricTransformation

I failed to export a STL file containing a Graphics3D with a Rotate or GeometricTransformation. ...
5
votes
3answers
195 views

Exporting PDF with large PaperSize

Suppose I create a new Notebook: nb = CreateDocument[{TextCell["PDF Test", "Section"], Table[PieChart@Range@5, {7}]}]; And set a big paper ...
1
vote
0answers
36 views

Export vector in .txt file with newline separator [closed]

I need to export a 1-D list (vector) in .txt format with one line corresponding to one value : v = {v1, v2, v3, ..., vn}; And the result should be, in ...
2
votes
1answer
69 views

Exporting special characters

I'm trying to export a string with UTF8 characters, but... ToString[{"a" -> "\[Lambda]"}, CharacterEncoding -> "UTF8"] (* Out: "{a -> λ}" *) My FE <...
0
votes
0answers
34 views

How to export a list of graphics to a multi-page PDF, each on its separate page? [duplicate]

I tried with these codes: g1 = GraphData[{"Complete", 8}] g2 = GraphData[{"Complete", 4}] Export["Graphs.pdf", {g1, g2}] SystemOpen["Graphs.pdf"] to shown these ...
2
votes
3answers
149 views

Extract function from a parametric interpolating function

I've read the answers of How to make use of an interpolating function outside of Mathematica?, Interpreting the interpolating function and saving data to plot with external program, Extracting the ...
0
votes
0answers
29 views

Save lists to re-open with Mathematica [duplicate]

I want to save a result of a computation in a file to re-open then in Mathematica in a new session. What is the most efficient and simple way to do this? To be specific, I am using ...
3
votes
1answer
61 views
3
votes
1answer
90 views

PlotLegend reduces plot quality

I have used of these lines to plot three functions (in the first plotted figure) and I used of PlotLegend for them to be recognized. In the second plot I have used of all written for the first plot ...
2
votes
0answers
77 views

Exporting organization of Mathematica's documentation to a JSON file

In this answer, @Vitaliy Kaurov explores and utilizes new Mathematica's functionality WolframLanguageData: ...