Questions tagged [jpeg]

JPEG is a common lossy compression method for digital images. Use this tag for questions about JPEG images using the image/jpeg MIME type.

JPEG is a common lossy compression method for digital images. Use this tag for questions about JPEG images using the image/jpeg MIME type.

See also , , and for other image file formats with JPEG in the name.

More information at the JPEG Wikipedia page.

4926 questions
2
votes
1 answer

How to convert a PDF with a filled form to a JPEG image using ImageMagick and preserving the form data?

I'm trying to convert this PDF to a JPEG image via ImageMagick (v 6.8.7-0): https://dl.dropboxusercontent.com/u/10351891/cd.pdf I didn't find any working solution to preserve the filled data inside the PDF. This is one of the commands tried: convert…
Panda
  • 275
  • 1
  • 4
  • 7
2
votes
0 answers

Is there a Python library for drawing SVG and saving them as other formats?

As the title implies, I wrote a script because I needed to generate large numbers of images with random circles lines etc in them, for this I have used the svgwrite library to create the DOM objects. But for the next stage I need them in either the…
George Bora
  • 1,618
  • 6
  • 26
  • 45
2
votes
1 answer

Create file from JFIF data

I have a dump of our LDAP database, and i'm attempting to extract all images from it using PHP. The images seem to be stored in JFIF format (at least, according to https://www.rfc-editor.org/rfc/rfc2798#page-5). However, i can't figure out how to…
Erik S
  • 1,939
  • 1
  • 18
  • 44
2
votes
1 answer

Get 8*8 blocks of an image to an arrayList

This is my code to take an ArrayList of 8*8 blocks of an image (Bmp) and it's not working. What is the flaw of the logic here? 'rows' is the number of rows of the image. I am doing my video steganography project. int x = 0; int…
Risina
  • 234
  • 3
  • 16
2
votes
0 answers

How to use mcc, pass a C++ jpg image buffer to MATLAB and receive a cropped image back from MATLAB

I am using mcc on linux to build a C++ application that uses MATLAB for computing and image processing. The C++ application calls MATLAB functions and needs to pass a jpeg image buffer as a parameter to MATLAB. I have tried various combinations of…
2
votes
1 answer

iOS - Save UIImage as a greyscale JPEG

In my app, I convert and process images. from colour to greyscale, then doing operations such as histogram-equalisation, filtering, etc. that part works fine. my UIImage display correctly, I also save them to jpeg files and it works. The only…
MikaelW
  • 1,145
  • 4
  • 11
  • 29
2
votes
1 answer

jpeg() function incompatible with paste() function in R?

I want to write jpeg files with dynamical filenames. In plot_filename I concatenate strings with values from other variables to create a dynamical filename. plot_filename = paste("Series…
Bart
  • 81
  • 1
  • 4
2
votes
1 answer

How can I write metadata into a .JPG?

I'm using this code to get these three diferent metadata attributes ('Object Name', 'ImageDescription' and 'Keywords') using the apache commons.imaging (snapshot). However, I have no clue about how to write into this attributes. Does anybody know…
gobispo
  • 91
  • 1
  • 6
2
votes
1 answer

metaio obj files can't read jpeg files

I've been using the metaio sdk for Android for quite some time and i wanted to change my textures from .PNG to JPEG. But it doesn't work, does Metaio allow only .PNG file to be read with Obj file ?
Tsunaze
  • 3,204
  • 7
  • 44
  • 81
2
votes
2 answers

How to force the proper file extension in the "save as" dialog? (.jpg instead of .php)

To password protect the website images, I access them through PHP. Intead of using the url "meme_penguin.jpg" I use "image.php?file=penguin". This works great for displaying it, except when the user try to "save as". In chrome the "save as"…
Calvin
  • 194
  • 17
2
votes
0 answers

Webview in Android app is not showing JPG images but PNG works

Webview in Android app is not showing JPG images but there is no problem with showing PNG images. Here is the code for PNG (working) for JPG (not working) Solved That was a format problem. I used…
2
votes
8 answers

Is there any downsides to using GIF as format of all images and pictures on website?

I noticed when I saved my menu background image from jpg to gif that gif takes almost one fourth of the size that jpg does. jpg = 25kb gif = 7kb Is there any downsides to using gif? Its GIF 256 colors BTW. NOT interlaced. Not transparent. Just want…
user188962
2
votes
2 answers

Why does pdftoppm poppler-utils have no jpeg option?

On Ubuntu 10.04, I've installed the poppler-utils package to be able to run pdftoppm. My goal is to convert PDFs to jpegs, however I don't have that option/flag available. The only rasterizer I seem to have is PNG support. Could someone please…
seb835
  • 467
  • 1
  • 5
  • 19
2
votes
1 answer

Opening a JPEG Image in Python

I am running into a problem opening jpeg images in Python 2.7 using the following code. import Tkinter as tk from PIL import ImageTk, Image path = 'C:/Python27/chart.jpg' root = tk.Tk() img = ImageTk.PhotoImage(Image.open(path)) panel =…
user2760013
  • 53
  • 1
  • 1
  • 4
2
votes
1 answer

Convert .arw Sony photo to .raw file

I want to convert a photo (shooted with Sony digital camera, .arw) in a Raw file and / or jpeg. Is there any library that can help me?
Nicola Russo
  • 133
  • 1
  • 2
  • 9
1 2 3
99
100