Questions tagged [image-extraction]
53 questions
10
votes
3 answers
How can I save first frame of a video as image?
I want to extract first frame of uploaded video and save it as image file.
Possible video formats are mpeg, avi and wmv.
One more thing to consider is that we are creating an ASP.NET website.

Sandeep Kumar M
- 3,841
- 3
- 38
- 59
10
votes
4 answers
Extracting *relevant* image from a web-page
I have a couple of twitter-powered news aggregation website. I have been planning to add images from articles that I find on twitter.
If I download the page and extract image using
tag, I get a bunch of images; not all of them relevant to the…

mithun
- 145
- 1
- 11
5
votes
3 answers
FFMPEG - How to Extract Frames As Images While Removing Sequentially Duplicate Frames
Is there any way (via script or preferably some parameter in calling ffmpeg that I missed) to extract frames from an avi file and ignore sequentially duplicate frames, thus being able to go through the pictures looking only at the deltas/changes?
I…

Michael Nelson
- 131
- 2
- 6
4
votes
2 answers
How to extract rotation/transformation information for PDF extracted images (i.e. How does viewers know to rotate 180 )
I am using a ScanSnap scanner which generates PDF-1.3 where it will auto-correct the orientation (rotate 0 or 180 degrees) of scanned documents when the PDF is viewed within Adobe Reader. OCR is done by the scanning software and I am assuming the…

user297500
- 210
- 3
- 16
4
votes
2 answers
Is it possible to detect the dimensions of an image at an URL without downloading the entire image?
Given an HTML page with a news article I'm trying to detect the relevant image(s) from the article. For this, I'm looking at the sizes of the images (if they're too small likely they are navigational elements), but I don't want to download every…

mirceapasoi
- 315
- 3
- 13
4
votes
1 answer
How to extract images from a PDF in pure Python?
I'm developing a service in which I now need to extract images from a PDF file. From a Linux command line I can extract images using the Poppler library like this:
pdfimages my_file.pdf /tmp/image
Since I'm using the Python Flask framework and I…

kramer65
- 50,427
- 120
- 308
- 488
4
votes
4 answers
Converting PDF into workable text using C#
Is there a library that has a class to extract the text from a pdf file in c#.net? I've tried a few but documentation is terrible, so I haven't been able to get it off the ground. Also if it provides a class to extract images that would be a plus.…

Edward
- 7,346
- 8
- 62
- 123
3
votes
1 answer
How do i extract 3 bands out of a 4 band image using NumpyArrayToRaster()?
I need to extract 3 bands from a 4 band image. I am using a function called NumpyArrayToRaster() it accepts only upto 3 band images . how do i make it work for 4 band images ?
This is my code right now-
import…

Avinash Paritala
- 51
- 2
- 6
3
votes
1 answer
FFmpeg code not working on http url for thumbnail extraction
I am trying to extract thumbnail from sharepoint 2013 video library. I found a link which can extract using ffmpeg. this is the link:
[How can I save first frame of a video as image?
filename = "http://siteurl/" + items["FileRef"].ToString();
When…

user2240379
- 71
- 2
- 11
3
votes
1 answer
Extract and scale part of image in CSS
I want to show part of an image, and scale the part of the image I show (either larger or smaller) within a webpage. It's really easy to show part of an image using css, for example:
$("#myDiv").css({
width: 100,
height: 100,
background:…

Peter Robinson
- 363
- 4
- 17
2
votes
2 answers
Is it possible to extract tiff files from PDFs without external libraries?
I was able to use Ned Batchelder's python code, which I converted to C++, to extract jpgs from pdf files. I'm wondering if the same technique can be used to extract tiff files and if so, does anyone know the appropriate offsets and markers to find…

David
- 5,991
- 5
- 33
- 39
2
votes
1 answer
FFMPEG best quality image extraction possible
I would like to extract pictures (png) out of a video for a 3D-modelling task. They should be in the best possible quality.
Video is : 1920x1080, 60 fps, 24 bit depth, mp4 .. I have now tried different approaches and feel like I should go…

sci_12
- 21
- 4
2
votes
1 answer
Python Image extraction sequence from pdf
I was trying to extract images from a pdf using PyMuPDF (fitz). My pdf has multiple images in a single page. I am maintaining a proper sequence number while saving my images. I saw that the images being extracted don't follow a proper sequence.…

Sabster
- 89
- 1
- 12
2
votes
2 answers
Extract images of pdf with pymupdf in right order
I am currently working on an Python 3.x image extractor for pdf-files and can't seem to find a solution for the problem I have been facing throughout my work. My intention is to extract all the images of pdf-files (vehicle reports) without the logos…

Jani
- 107
- 1
- 3
- 9
2
votes
1 answer
Extracting the "n"th image out of a bmp (or other image type)
I have a bmp image that's comprised of 13 images, and each image is exactly 17x17. Aside from breaking this image down through gimp into 13 different images, what is a good way to 'extract' the nth image from this list (into a char array,…

Ben Stott
- 2,218
- 17
- 23