Questions tagged [image-conversion]

Converting an image into another format or color space

Filter by
Sorted by
Tagged with
-1 votes
0 answers
34 views

FFmpeg parameters for best quality JPGs

In FFmpeg, if I use -vf format=rgb24, will I always get the correct colors for any image format, including JPG? What should I set -qscale:v (-q:v) to so I can get the best quality, 2 or 1? Will adding ...
user1897354's user avatar
1 vote
1 answer
50 views

How can I allow ImageMagick to convert a grayscale png to an ico file without errors?

I have a grayscale PNG, and when trying to use ImageMagick (Version 7.1.1-28) to create an ICO file it always gives me the following warning: $ convert favicon.png -define icon:auto-resize=16,32,48,64,...
Dan Herbert's user avatar
  • 1,791
1 vote
1 answer
131 views

How to put more than one image by page using img2pdf?

I have a series of images (>100) that I want to print in a specific size, that size let me put 8 of the images in a page, but when running the next command I get one image by page. img2pdf *.png --...
rurickdev's user avatar
0 votes
0 answers
28 views

cwebp arguments in right order

I am writing a command line of cwebp to convert .png image to .webp to achieve best picture with lowest size, but I am confused in right order and right values of arguments. cwebp -preset photo -sns ...
Rizwan.A's user avatar
0 votes
1 answer
40 views

Round-tripping a image through Microsoft word [duplicate]

I tried dragging a .tif image into word, and then saving that image from within word as a .tif image file. The resulting output file had more bytes (122 kB vs 72 kB) but fewer pixels (624 pixels ...
Gerard Ashton's user avatar
1 vote
1 answer
552 views

Using bitrate in conversion of a set of images to a video changes the length of the video

I have ffmpeg version n5.0.1-3-gb655beb025 and I am trying to convert a set of 120 PNGs to an AVI file with 60 frames/sec. When I do that with: ffmpeg.exe -r 60 -i Frame-%%05d.png MyVideoLQ.avi it ...
user1712948's user avatar
0 votes
2 answers
601 views

How do I convert ICNS to PNG while removing the extra transparent area?

I have about 200+ .icns files that I would like to convert to png to use somewhere else. However, the .icns files are a 1024x1024 area that come with a sizeable transparent area around the actual icon....
Sidewinder's user avatar
0 votes
1 answer
966 views

How to convert BMPs (bitmap black&white) to 1-bit color depth animated GIF

I have a sequence of BMPs that are 1bpp (1-bit color depth, black & white of course). I want to combine them into a single animated GIF, with 1-bit color depth. Is this possible? So far I have ...
Lê Thành Vinh 's user avatar
1 vote
1 answer
2k views

How to batch convert PNGs to JPEGs and preserve timestamps in filesystem & EXIF header?

I sometimes take screenshots on my Mac during video-calls with friends/family (with their consent of course!) and would like to add those images of a photographic nature to my Apple Photos Library. I ...
porg's user avatar
  • 369
10 votes
1 answer
5k views

Is it safe to simply rename a .jfif file to .jpg?

I downloaded several images that are are .jfif files. I have various enhancements (e.g. context menus) and processing scripts that are keyed to *.jpg files and would like to use these with the new ...
Martin's user avatar
  • 1,816
1 vote
1 answer
2k views

Convert table image to Excel, using Excel

I have the table below in the image png file format. Would it be possible to convert this to an Excel table using Excel?
emnha's user avatar
  • 351
0 votes
0 answers
906 views

On Widows, how can I screen capture, then paste as JPG (not PNG) into gmail?

How can I capture part of a screen on Windows 10, then paste as a JPG? Using the inbuilt snipping tool and third party tools, the resulting pasted image ends up as a PNG in Gmail. PNG files are ...
Bryce's user avatar
  • 2,345
13 votes
6 answers
9k views

Can I create an image with a specific size in bytes?

I want to create an image file so it's exactly 5MB for testing purposes. Is it possible?
John Doe's user avatar
  • 167
0 votes
1 answer
434 views

Bulk convert image-data URIs to images

I have a text file of 391 image-data URIs, one on each line. I need to batch-convert them all to images, named according to their sequence (i.e. image001.png, image002.png or similar). What do people ...
Zarka's user avatar
  • 395
0 votes
0 answers
133 views

How can I open or convert JTIP (jpeg tiled image pyramid) files?

I've found some old photos (.jpg) from 2005 on a harddrive and can't find a way to view them. Using droid, I found out that these seem to be JTIP (jpeg tiled image pyramid)-files. The puid of this ...
BlastingAgent's user avatar
0 votes
2 answers
1k views

How to convert an image of a document into a high contrast black and white image? [closed]

What I mean is, let's imagine I take a photograph of a document, diagram or whatever. Now if I put this photo into a document it feels weird, even though the background color is white it's not as ...
Ivan A.'s user avatar
  • 31
5 votes
2 answers
11k views

Batch convert WebP files to GIF files offline?

Writing a batch script to convert all WebP files to be GIF format. Looking at the closest utility offered by Google, I don't see an immediately obvious way to do that. I don't like having to use ...
Ghoti and Chips's user avatar
1 vote
2 answers
10k views

How to bulk convert Base64 to images in an Excel file

I have an excel file with 500 rows of image URIs in Base64 (as you can see in the image). I need to convert them to images and download them to my computer. Is there a website/tool/code that can do ...
Iman Ghavamabadi's user avatar
3 votes
0 answers
18k views

How to convert png to draw.io xml

I would like to convert an existing png to the draw.io xml format bit don't know how to do nor do I know if this is even possible. As an example, the following image .. would be described as this: &...
papanito's user avatar
  • 285
11 votes
4 answers
11k views

How can I convert a PDF into a series of Images (JPGs or PNGs) via the terminal on mac?

I have a pdf and I'd like to convert it to a series of images, numbered 0001.jpg - XXXX.jpg ? I found this so far sips -s format png your_pdf_file.pdf --out your_png_file.png but it seems to only ...
R. Kohlisch's user avatar
3 votes
4 answers
7k views

How to convert multiple images at once from JPEG to PNG?

How can I convert multiple images at once from JPEG to PNG? The JPEG to PNG converter on my MacBook does not convert many images quickly at once. My option is now: Convert JPG to PNG - JPG4PNG
Mappbe Thomas's user avatar
1 vote
1 answer
1k views

How to batch process pictures to split and reassemble them vertically?

I have 6,000 pictures with two horizontal bars of text in them, one at the top, one at the bottom. The goal is to cut the top bar and put it under the bottom bar of text. How would I do that in a ...
Hecate Newb's user avatar
2 votes
0 answers
132 views

Why does Imagemagick convert JPGs to larger image size than PNG?

I have a collection of textures for 3D design. Each folder of my collection contains the texture files (normal-map, colour-map, bump-map etc) and a preview file, like so: Now I want to create icon ...
Akim's user avatar
  • 31
2 votes
1 answer
2k views

How do I convert stereoscopic 3D photos (.sjpg, side-by-side, interlaced) to Facebook-compatible depth-map+stereo pair .heic 3D?

*.heic is the "new jpg" being pushed by Apple, Samsung, etc. It is a improved image format. Facebook not only supports glTF 3D models, but also now supports iPhone 7 & iPhone 8 3D photos, which ...
Jonathan's user avatar
  • 1,742
0 votes
1 answer
457 views

Convert bmp to png and black colors to alpha

I exported some sprites from the game Half-Life; however, they seem to have tones of black instead of the alpha channel. For example: How do I convert the black colors into alpha/transparency?
DoingJavascriptForBread's user avatar
2 votes
0 answers
917 views

Combine images and gif to a single video?

My project is to join all image files (currently only JPGs) in a folder to a single video file. All images are the same size (1080p) and each one should be displayed for 3s in the output video. Here's ...
Max M.'s user avatar
  • 33
4 votes
1 answer
8k views

Conversion from GIF to PNG not working

I was looking for a way to break an animated GIF into the images composing it, and found many threads recommending: convert -coalesce Dijkstra_Animation.gif djik.png I ran this command but it fails. ...
user774743's user avatar
2 votes
2 answers
7k views

How to Split a Multipage Tiff File on Macintosh?

I see a similar question here, but it in for Windows. How can I break out a page of a multipage tiff file on Mac OS X Sierra? I've got Photoshop CS6 and Illustrator CS6 and Acrobat Pro DC, but none ...
WilliamKF's user avatar
  • 7,898
1 vote
2 answers
2k views

All of the pictures from screenshots I saved were saved as a .txt file. How do I convert them back into images?

I go to my files and select my "Pictures" folder. I then select my "screenshots" folder. Within this folder are all my screenshots, but for some reason saved as text instead of an image, and I would ...
Emily M.'s user avatar
2 votes
4 answers
6k views

Save images of different sizes as a pdf

I have multiple images, all of different sizes. What I want to do is save each image on its own page in a PDF document, with no white space around it. Would this be possible?
Yubin Lee's user avatar
  • 173
2 votes
1 answer
76 views

slice and rearrange long skinny image to fit on screen

I have many images, each roughly 10000 x 40 pixels, visualizing graphs that are mostly chains with a few spurs and other "decorations." (They're made by piping OpenFST's fstdraw through Graphviz's dot)...
Camille Goudeseune's user avatar
7 votes
2 answers
3k views

Convert PNG or JPEG into PDF without reencoding

I have a JPEG (or PNG) image file and I want to create a PDF that contains this image without any quality loss. Just a one-page PDF document with that image. Is there an easy solution for this? I ...
Csq's user avatar
  • 286
29 votes
6 answers
92k views

How to disable WebP images in Chrome?

Google Chrome sometimes takes a .jpg image and converts it to a .webp file. The problem is that when I save this image to file, I cannot open the file. I have tried manually changing the extension of ...
rubik's sphere's user avatar
0 votes
2 answers
38 views

Monitor conversion help needed

In the early 1990s, I used Autocad 2, which used a CGA/EGA monitor. I still have the Autocad installed on an old IBM, but I don't have the monitor. I've seen converters that change the hertz (I ...
dontknowmuch's user avatar
2 votes
1 answer
3k views

Which ffmpeg flag fixes MP4 missing frames in Premiere?

We are converting a sequence of DPX images into an MP4 video: ffmpeg -start_number 101 -i dpx/example.%04d.dpx ./example.mp4 # minimal conversion ffmpeg -y -start_number 101 -i dpx/example.%04d.dpx -...
lofidevops's user avatar
  • 1,328
1 vote
1 answer
1k views

Why does imagemagick increase the file size of my pdf?

I have a pdf file containing a single page with scans of some documents. I want to remove obsolete parts of the page (I tried cropping and overlaying a white rectangle) and save it again. I expected ...
user829755's user avatar
-3 votes
1 answer
951 views

Converting BMP to PNG,JPG,GIF,TIFF quality differences

My question is what is the difference between PNG, JPG, GIF and TIFF in terms of quality, colour depth after converting BMP picture in those formats?
Samuel.P's user avatar
0 votes
1 answer
854 views

Converting image to mpeg/mp4 results in mp4 file with 0 bytes

I'm trying to convert a png file to mp4 file but I get 0bytes mp4 files. Here is my code structure: ffmpeg -r [framerate] -i [images] -s [resolution] -vcodec libx264 [videofilename].mp4
user2033138's user avatar
8 votes
3 answers
4k views

How to convert multiple embedded PNGs to JPEGs in Powerpoint file?

I have a large PowerPoint file with many embedded images, some of which are JPEGs and some PNGs. To make the file as small as possible I would like all the PNG images to be converted to JPEGs. This ...
Harry Vervet's user avatar
0 votes
1 answer
568 views

Batch convert TIFF to PDF and add text

I have a bunch of TIFF files that I am interested to convert to a single multipage PDF file, which should be easily achieved using ImageMagick. However, I'm also interested in adding text to each ...
Gimelist's user avatar
  • 318
3 votes
3 answers
8k views

Why is a PDF containing just one image much bigger than the image itself?

I would like to embed a scanned document into a PDF document. The source picture is about 300 kB. If I use the convert command, the PDF has a size of 30 MB, and with GIMP, 3 MB. Here the resulting ...
Gaël Barbin's user avatar
  • 1,009
1 vote
3 answers
2k views

How can I export a one page word document into an image of a particular resolution?

How can I export a one page word document into an image of a particular resolution? For example, suppose I have a word document, it has some word art on it, it is one page, it has some pictures, some ...
barlop's user avatar
  • 23.8k
5 votes
1 answer
6k views

Size of GIF way too high?

I'm trying to extract a GIF from an MP4 video file. Now I have two modi with which I do this: 1) the regular one: ffmpeg -t 7.7 -ss 00:22:53 -i video.mp4 -i palette.png -s 320x174 -filter_complex "...
nfisher's user avatar
  • 53
0 votes
1 answer
2k views

How do I convert a JPEG file into a black and white (1-bit) monochrome TIFF in Ubuntu?

JPEG is a scan of a text document so not much to loose in terms of colour/tones. convert foo.jpg -flatten -monochrome bar.tif gives convert: BitsPerSample 1 not allowed for JPEG. 'JPEGSetupEncode' ...
G33K's user avatar
  • 101
2 votes
2 answers
2k views

Batch Convert BMP to PNG & keep original created/modified dates

I have many screenshots from video games over the years that I want to convert while maintaining their timestamps so I can keep them chronologically organized with other images. I've already used an ...
Milo's user avatar
  • 193
0 votes
0 answers
108 views

pnmtopng on large file

I am running pnmtopng on a 101M, 3000x4000 pixel PNM file. I get the error pnmtopng: ASCII decimal integer in file is too large to be processed. every time I run it. I looked through the source and it ...
tekknolagi's user avatar
  • 1,390
1 vote
1 answer
257 views

ImageMagick montage always chaging from 32 bits to 8 bits

I am trying to create a montage from a series of 32 bit PNG images. However the result always gets reduced down to 8 bits with no transparency. Here's an example of one of the source images: https://...
posfan12's user avatar
  • 662
2 votes
1 answer
3k views

Convert image to video with empty audio track

I've found a good command to convert an image to a video in FFMPEG, but each image is going to be concatenated into a longer set of videos and images, and I need concat to concatenate the audio tracks ...
Daniel Jacob Archer's user avatar
1 vote
1 answer
53 views

image from video is black

I have been trying to grab an image from video using Print Screen. When I view it in Irfan View it looks perfectly normal, but when I try to upload it to Stack Exchange the image is black. I even ...
Tyler Durden's user avatar
  • 6,121
5 votes
3 answers
3k views

Converting NEF files to JPEG

What is the fastest way to batch convert NEF files (Nikon RAW) to JPEG? I'v tried FastStone Image Viewer and Nikon's Capture-DX on my RAM-drive but they appear to be very slow, although Capture-DX ...
fubo's user avatar
  • 223