Questions tagged [conversion]

Conversion between file formats.

Filter by
Sorted by
Tagged with
0
votes
1answer
60 views

ImageMagick generated PDF renders as blank pages in Chrome

I have drawn a png file using Krita: I then converted this file to a pdf file using convert: convert test.png test.pdf When I open this file in my PDF viewer (Evince), I see the image above, just as ...
0
votes
0answers
19 views

Convert HEIC with depth to JPEG?

I've extracted a whole bunch of HEIC photos from my iPhone and many of them contain a depth channel. This is because they were taken in a portrait mode. After some digging, I was able to approach to ...
1
vote
2answers
38 views

Batch convert images with xargs & convert, how to name output file?

It's known that images can be converted to one single pdf with the following command (assuming images filenames are order correctly): convert *.jpg output.pdf. However, this approach may take too much ...
3
votes
0answers
37 views

File conversion canary

Is there a way to tell if a flat ASCII log file, eg. the output of a command, was converted to an office document (typically: Word, Excel, Notepad) and back to a flat text file? I know at least one of ...
0
votes
1answer
22 views

Convert folder to .bin-File

I just downloaded a bin file for my new application. The problem is that I had to change some config files, and for that I used 7-zip to unpack the files. I changed the files the way I want to have ...
0
votes
0answers
18 views

Image conversion using IMAGEMAGIC

I am using convert utility of Image-magic on my MacOS to convert PS graphs to PNG images adding some information to the resulted image convert -undercolor white -background white -alpha deactivate -...
2
votes
2answers
37 views

How to properly decode utf7 file names obtained from an IMAP server

I have a few directories that I downloaded from an IMAP server. Example: $ find . -maxdepth 1 . ./&BCEEPwQwBDw- ./&BCMENAQwBDsENQQ9BD0ESwQ1- ./inbox ./&BCcENQRABD0EPgQyBDgEOgQ4- ./&...
0
votes
1answer
37 views

PDF conversion: 4 pages/sheet to 1 page/sheet

I am struggling to revert / undo a 4 pages per sheet PDF to a 1 sheet per page document. The reason why I am trying to undo it is because I can barely read the printed document. The original file has ...
0
votes
1answer
28 views

How to run single command on multiple files to convert file format?

I am trying to convert file format from fa to fq using seqkit on Linux terminal. Command is simple as shown below. seqkit fq2fa Std_metabat2_bin.9_sub.fa -o Std_metabat2_bin.9_sub.fq -j 20 But, I ...
2
votes
1answer
172 views

how to open/convert .ost file (Microsoft Outlook email folder) on linux

How can I convert (or open) .ost file (Microsoft Outlook email folder) on linux ? Ideally, I would like to read it with Mutt. But mutt does not seem to understand this format. Therefore I would like ...
0
votes
0answers
7 views

mutool clean pdf output doesn't show German utf-8 characters (umlauts) and some special chars

command: mutool clean -d somepdf.pdf piece of output: Die folgende Gegen\374berstellung von alter und neuer Logik hat selbstredend nichts zu tun mit der sp\344tmittelalterlichen Unterscheidung ...
0
votes
0answers
13 views

Program to convert calendar(1) format to ics

I have some files formatted in calendar(1) format (installable on Debian using apt install bsdmainutils: Jan 05 Mungday (5th of the Season of Chaos) Festival of Hung Mung Feb 19 Chaoflux (50th of ...
0
votes
1answer
52 views

ffmpeg batch command to reduce file quality

I've got a directory with thousands of images (png, jpg, bmp, etc.) and thousands of videos (mp4, mpv, mpeg, etc.). The png images may be ~10 MB and I can open them one at a time in GIMP, reduce ...
1
vote
1answer
90 views

ImageMagick - how to preserve exact palette in .PNG

I'm trying to use convert(1) from ImageMagick to convert from .tga to .png (and back again later), while preserving exact palette that was used. Source image is TARGA color indexed file, having a ...
0
votes
0answers
25 views

Recreate BTRFS File System with DUP Profile

Is there a way to find out the exact parameters that were originally used when a BTRFS file system was created? I'm working on a system with an older kernel version (4.4). Because of the older kernel ...
0
votes
1answer
34 views

convert directory names with german 'now' date to YYYY-MM-DD

I exported pictures from mac's iPhoto. The directories are named with the date in local naming ("Day. MONTH YYYY"): 8. Mai 2013/ 13. Juli 2013/ 31. Oktober 2014/ and some of them with GPS ...
2
votes
0answers
87 views

Libre Office - convert calc/exel schedule to csv from command line

I'm truing to batch convert some exel schedules to csv format from the command-line with the following command: libreoffice --convert-to csv *.xlsx I'm getting: error xsltParseStylesheetFile : cannot ...
1
vote
0answers
157 views

ImageMagick refused to convert the animated GIF and killed the process silently due to CPU

I tried with these solutions below, but unsuccessfully: ImageMagick convert problem, command killed or silently exits Using disk for processing of huge images ImageMagick convert out of memory ...
0
votes
1answer
42 views

ffmpeg not copying FRONT_COVER image metadata during conversion

When doing an mp3 → mp3 (or flac → mp3) conversion, -map_metadata can be used to copy metadata from the input file to the output file: ffmpeg -hide_banner -loglevel warning -nostats -i "${source}&...
0
votes
0answers
28 views

Best way to crop a RAW image file to TIFF preserving quality

I am a nature photographer, and it is usual that I take a picture with the subject in a small portion of the picture. Now I am doing astrophotography and face the same situation, with a small Saturn ...
0
votes
0answers
36 views

heif-convert: symbol lookup error: undefined symbol: jpeg_write_icc_profile, version LIBJPEG_6.2

I have run heif-convert successfully not long ago but now I get this error: >heif-convert bob.heic bob.jpeg heif-convert: symbol lookup error: heif-convert: undefined symbol: jpeg_write_icc_profile,...
0
votes
1answer
57 views

Render troff file on terminal like the man outputs on terminal

I was trying to render the troff file https://github.com/bit-team/backintime/blob/master/common/man/C/backintime-config.1 in terminal. How can I make the output (using cat or some other utility) look ...
0
votes
1answer
109 views

Set UUID when generating a VMDK image from a raw image using qemu-img

It is possible to convert a raw image to a VMDK image with qemu-img like this: qemu-img convert -O vmdk "$_raw" "$_vmdk" I know it is possible to set UUID of the generated VMDK ...
2
votes
0answers
31 views

libheif giving unknown file type error debian 10

I tried using heif-convert 100 3313.heif 3.jpg to convert my file from .heic to .jpg, but it keeps giving me the error message Unknown file type in 3313.heif. What does this mean? I have libde265 and ...
0
votes
1answer
32 views

Access old files after btrfs conversion

I have a disc with a few hundred gigs of relatively unimportant data which I've converted from ext4 to btrfs. The conversion has produced a new empty btrfs partition with a snapshot called "...
0
votes
3answers
48 views

BASH binary to Hex to match PHP bin2hex function?

In bash I can call PHP and run the following: testKey='8798(*&98}9%"^8&]8_98{9798**76876' testHex=$(php -r "echo bin2hex('$testKey');") echo $testHex And that will result in ...
0
votes
0answers
43 views

pandoc: preserve centered text

i'm using pandoc (2.2.1) to convert an html page to pdf (or also markdown, org, plain text, etc. whatever works really). this is the page: https://www.exclassics.com/pamphlets/pamph004.htm pandoc ...
0
votes
1answer
39 views

date tz converts with GMT and City Names with same GMT get differ result

I want convert custom string time on UTC between different time zones defined as GMT. I general all answers that is here ok. But some question is with this examples: 1.TZ='GMT-07' date --date='TZ="...
0
votes
0answers
44 views

i need to convert from tcsh to bash

I have a script written in tcsh that I am trying to convert to bash. It takes files from the current directory and runs the command mripreproc on them. I need to execute in bash, can you please point ...
0
votes
2answers
27 views

How to resize images on sequential functions?

I am trying to: change the format of my images, then resize their height and width of 40% then optimize their quality to 35% max of the source and the total size of the image to 35% of the origin. ...
0
votes
1answer
33 views

Website to PDF with wkhtmltopdf

I am trying to convert the manual http://101.wacom.com/UserHelp/en/TOC/CTH-490.html into a PDF. In Arch Linux I tried: wget --recursive --page-requisites --domains wacom.com http://101.wacom.com/...
1
vote
3answers
48 views

Converting base-6 number to base-2 (binary) using commands or a program

I have a base-6 number generated by rolling a physical six-sided dice and want to convert it into base-2 / binary. Are there built-in commands or programs that can do that for me? If not, what is ...
0
votes
0answers
137 views

Is it possible to convert all video files in subdirectories on google drive using ffmpeg & rclone?

Currently I'm using this code whereby rclone fetches 1 file from my google drive, converts it using ffpmeg on a server and moves the converted files to the same folder. It's shown as below. Step 1 is ...
0
votes
1answer
66 views

How to turn mojibake text to readable form?

I got mojibake text (from MP3 ID3 fields) that need to be converted to the right form. I tried to: echo 'c2 8d 44 e2 80 99 c2 b2 c2 8d 44 e2 80 99 c2 b2' | xxd -p -r | iconv -f sjis -t utf8; echo ...
-1
votes
2answers
194 views

How to use wget to download an online eBook

sorry for my English.... I to try to Download this Ebook, I tried different methods with Wget, with wget --domains --no-parent https://www.oreilly.de/german/freebooks/linag3ger and wget --domains ...
1
vote
1answer
87 views

ext4 issue on very old machine

I'm trying to install Linux on a 20-year old Compaq HP Pavilion ze4300 with 256 MB RAM (I think) without internet connection. I can boot from CD but not from USB. Unfortunately I ran into this ...
0
votes
2answers
54 views

Structured data format to XML

I have some output in some structured data format that I need to convert into XML. My use case is that Palo Alto firewalls deliver configuration output via the command line interface which cannot be ...
0
votes
1answer
31 views

Avconv only converts 3 seconds of audio instead of the entire 30 minutes

this is my code dir=Desktop/mp3convert #I left out the whole t find "${dir:-.}" -name "*.mp3" -exec avconv -i {} -b 64k -ar 44100 -ac 1 {} \;
0
votes
0answers
29 views

Converting many PNGs to PDF?

I have been using the following command: convert *.png out.pdf But it seems to be limited to only convert 38 images, the output file is about 50 MB, it makes me wonder if there is a limitation in ...
0
votes
1answer
243 views

how to convert bigendian squashfs file system to little endian

Are there any tools to convert big endian squashfs file system to little endian?
0
votes
0answers
51 views

Converting text file encodings

I have been having a horrible time with text files that mostly have cp1252 encoding, but some don't. When I try to iterate over them in Python, I'll hit a file with some other weird encoding and the ...
0
votes
1answer
2k views

Convert this particular .bash_profile to .zprofile

I have this .bash_profile: alias ip='ipconfig getifaddr en0' PS1="\[\e[0;31m\]\$ \[\e[0;32m\]\w\[\e[0m\] : " export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s ...
6
votes
1answer
3k views

Installing Proprietary Windows Drivers on Linux

I have a PC Oscilloscope Instrustar ISDS205X which I used on Windows 10. Now that I have switched to Linux, I am unable to find the respective drivers for it. I have tried installing it on PlayOnLinux ...
25
votes
6answers
25k views

Is there a command-line tool for converting html files to pdf? [duplicate]

I would like to install a command line tool within a Docker image in order to quickly convert *html files into *pdf files. I am surprised there is not a Unix tool to do something like this.
6
votes
3answers
2k views

'dos2unix' is unable to convert a `typescript` file to Unix format

I recorded my current session using the script command, and all information was saved in a typescript file, but when I opened it using Vim there were a lot of ^Ms due to carriage returns. I tried to ...
1
vote
2answers
417 views

Convert Excel file to PDF using Perl CGI

I'm trying to convert an xlsx file to pdf using Perl CGI (Mason). Since I did not find a way to convert a file using pure perl, I'm using soffice to perform the job. This works fine until I do it ...
2
votes
1answer
241 views

Is there a way to convert flac files to ape?

I need to convert flac files to ape. Googled for that topic, but seems like ape file is outdated, so no solution was found. Any tools, ideas to resolve the problem?
2
votes
2answers
236 views

How to turn lots of images into 1 pdf without running out of resources

I'm trying to convert thousands of jpg images into 1 big PDF. Each image is a page from a book. I tried using the following command: convert * out.pdf But I'd get this error after maybe 150 images: ...
2
votes
0answers
736 views

Using iconv to convert utf-8 characters to the closest ASCII character

I can use the iconv command to "translit" a utf-8 string to an ASCII-only string with characters being replaced with their closest ASCII character. However, my problem is that I need the ...
1
vote
1answer
398 views

Convert image into 8-Bit color space?

Is there a way to use convert to transform an image into an 8-bit bitmap?

1
2 3 4 5 6