Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 4
1 answer
332 views

I'm trying to implement a three.js texture loader for the JPEG 360 format. For this purpose, it's really a JPEG image embedded in a nested set of "boxes", very similar to the structures used ...
Score of 2
1 answer
80 views

I have a small Python code to read and save an image: import numpy as np # from scipy.misc import imread, imsave # Not working from imread import imread, imsave img = imread('tst-image.jpg') # print(...
Advice
0 votes
1 replies
75 views

I am using fswebcam. It is able to write both raw frame as well as processed frame. It is a great tool able putting text (e.g. timestamps) onto the image, but I am facing quality issues, actually not ...
Score of 3
1 answer
86 views

I'm running into a problem converting raw rgb565 into rgb888. I'm getting psychedelic looking images: I followed the advice from this forum post, but I have not been able to fix the problem. Has ...
Score of 0
1 answer
123 views

I've tried using ImageView but it requires that the image be a drawable-resource, as per all the answers I could find in SO (and elsewhere). Do I really have to copy the jpeg to res/drawable? Or is ...
Score of 1
0 answers
156 views

I'm trying to accomplish the following: Open a TIF image file (which contains an alpha channel and Geo Location data) remove the Alpha channel Save a compressed version of the TIF file using JPEG ...
Score of 1
0 answers
88 views

I am not sure if I have understood correctly this sentence, taken from ISO/IEC 18181-2:2024 Any boxes, content and codestreams present in a superbox, such as another JPEG XL file in a JUMBF superbox, ...
Score of 1
1 answer
118 views

I am trying to write Exif data to an image in C# but can't find a solution that meets all my needs. Once I have written the data to the image I use ExifTool to test for any errors and consistently I ...
Score of 0
1 answer
122 views

I have linked macro-enabled worksheet objects from excel to 25 different powerpoint slides in my powerpoint deck. Some slides have up to three linked objects and others have only one. For the slides ...
Score of 1
3 answers
605 views

I have this endpoint: @GetMapping("/thumbnail/{imageName}") @PreAuthorize("hasRole('BASIC')") public ResponseEntity<InputStreamResource> natalChartThumbnail() throws ...
Score of 0
2 answers
199 views

I am trying to automate the extraction of various files from SEC full text submissions on EDGAR (public company regulatory filings). With python, I can separate the various files, demarcated by ...
Score of 0
1 answer
36 views

I'm trying to write a PL/SQL program to COPY a JPG files from one directory to another. The file names themselves are the id's in a table that I fetch and make a variable photo_file_name := lower(...
Score of 0
0 answers
124 views

First of all, this all involves older versions of both PHP and Imagick, that we cannot update at the moment due to technical constraints. In our project we preview PDF contents to users by splitting ...
Score of 1
1 answer
222 views

Why is the Unicode minus sign (\u2212) not displayed in the ggplot2 plot, while the regular hyphen ("-") is shown correctly? data <- data.frame(a = 1:10, b = 1:10) ggplot(data, aes(x = a,...
Score of 0
0 answers
312 views

I have read and test many things in internet about this issue with no solution. I want to convert a jpeg to pdf file usin ghostscript dll in Delphi 7. the code below creates an empty pdf file. ...
Score of 1
1 answer
129 views

I have a Python script which iterates through a set of Excel named ranges (DT_1, DT_2, ... DT_30). All ranges are in the same workbook, same sheet and are all named systematically. The script saves ...
Score of 0
0 answers
121 views

In a java program, I want to insert at coding level a JPEG image (which already exists in the java-code/program as a BufferedImage) into a PDF-file. Since the PDF-viewer (XChange-Editor) does not show ...
Score of -1
1 answer
158 views

I'm trying to take a one frame ever x seconds from my usb camera. Name of the camera is: ELP-USBFHD06H-SFV(5-50). Code is not 100% done yet, but I'm using it this way right now ↓ (shot fn is called ...
Score of 0
1 answer
166 views

I want to convert an 8-bit grayscale JPEG to a 32-bit argb JPEG using a GPU function, while not using CPU resources. Below is my SharpDX code which is 8-bit JPEG to 32-bit JPEG convert using a CPU ...
Score of 1
1 answer
82 views

I know how to save a plot as a pdf to disk ... pdf(file = "sample.pdf") plot(x=1:2,y=1:2) dev.off() But, instead of sample.pdf could I make the pdf an object in the global environment? I ...
Score of 2
0 answers
35 views

I'm on windows 11, using a Python script to compress JPG images recursively in a folder and its subfolders. The script uses the Pillow library and is designed to reduce image quality by 70% while ...
Score of 1
2 answers
216 views

I'm encountering an issue when trying to upload files larger than 10MB. when I attempt to upload a PDF or JPG file that exceeds this size, I receive the following error message: Error: Content type is ...
Score of 1
1 answer
78 views

I've plotted multiple rasters into a matrix grid and I'd like to save the plot into a specified folder in my directory. My plots are for a poster presentation at a conference and the images need to be ...
Score of 2
0 answers
106 views

My Lambda function uses the Python Image Library (PIL) to convert images, specifically converting everything to PNG. Recently, I've run into a few cases where the colors of the image noticeably change ...
Score of 1
1 answer
277 views

I'm using javax.imageio.ImageIO to write JPEGs. By default: if I try to write an image with a thumbnail that thumbnail is clipped to 255x255. Is it possible using only ImageIO classes to embed a ...
Score of 0
1 answer
96 views

I have CSS-styled span element with a width and height, and a background-image, which does not appear although a box of the expected size is reserved on-screen. If I try a different jpg file, the ...
Score of 2
1 answer
164 views

Consider the following simple shell script (Debian/stable) system (*) % ./demo.sh 26b955f9e6987c2617c97a653f1fe3dd mask_white_gray.jpg 4fe7eb3d04c54887c1b0c9c33f8526bf mask_gray.jpg Looking at the ...
Score of 0
0 answers
83 views

I need to wrap a JPEG image as TIFF (aka. "JPEG-in-TIFF") without changing the JPEG data (i.e. without decompressing and re-compressing the original JPEG image, which would hurt the image ...
Score of 0
2 answers
110 views

$("#download-pdf-template").on("click", function(e) { overallwidthcover = parseFloat(Number(overallwidthcover).toFixed(3)); overallcoverhegiht = parseFloat(Number(...
Score of 0
2 answers
60 views

I'm developing a spring application. I'm using Vaadin for building user interface. I have class like this which should be responsible for displaying images. @SpringComponent @Scope("prototype&...
Score of 0
0 answers
118 views

I have large JPEG images of around 2000 x 1500 (a few Megabytes in size). I wish to resize them for display to 200 x 150 (ideally 10KB or so) in a phone app. I'd like to know what would be the best ...
Score of 0
1 answer
82 views

I have canvas and for now, i downloaded jpg file with this. var a = document.createElement('a'); a.href = ref_canvas_release.current.toDataURL('image/jpeg', 0.85); a.download = GlobalParam....
Score of 0
1 answer
139 views

I'm trying to implement JPEG compression in python and so far I have done the following steps Color Space conversion Downscaling chrominance channels 8x8 block splitting ( adds padding if size is not ...
Score of 0
2 answers
288 views

There are several jpeg decoders like ijg, libjpeg-turbo, mini jpeg decoder, ... Assuming that the encoded jpeg file internal color format is YCbCr, to produce the final RGB image, the decoders have to ...
Score of 0
0 answers
289 views

I am using gulp to simply clone a src folder (jpeg images only). I used the official documentation -> (https://www.npmjs.com/package/gulp-scale-images) When I enter gulp in my terminal to run my ...
Score of 1
1 answer
102 views

In order to save flash data and SPI traffic, I'm trying to compress my JPG images with zopfli before sending them to NHD-7.0-800480FT-CSXV-CTP. I'm using this library and an ESP32-S3. For reference, ...
Score of 1
1 answer
172 views

I am trying to take a .cbz / comic book file, read the images into a single byte array and return it as a single image to serve in a web application. For testing purposes a .cbz file is just a rar ...
Score of 1
0 answers
299 views

I have the following code in PHP that is responsible for taking in a file and then converting it from HEIC -> JPG using the https://www.libvips.org/API/current/VipsForeignSave.html#vips-jpegsave ...
Score of 0
1 answer
198 views

I use the following code to rotate an JPG image by 180 degrees, by updating EXIF header. I want to avoid re-encoding the image : import PIL import piexif filename = "somefile.jpg" img = PIL....
Score of 1
0 answers
90 views

I have a form that displays a bunch of barcodes in jpeg format. When I right-click on an image and choose "saveAs", the file is saved with the original quality of the jpeg: <div style=&...
Score of 0
0 answers
92 views

I need to batch process exporting pages from an INDD document into different formats. here is what I have so far: var pdfPreset1 = app.pdfExportPresets.item("[Smallest File Size]"); var ...
Score of 0
2 answers
182 views

I am experiencing that Delphi's TImage component is very poor. I am working with various Delphi versions starting from Delphi 6 (2000 edition, we still have some projects on it) and ending with Tokyo, ...
Score of -1
1 answer
64 views

I need to convert a pdf file containing only one image to a .jpeg or .png format using ImageMagick. This is the image. Original PDF file: https://file.io/WMEsCGtbodwz Using the command line convert -...
Score of 0
0 answers
47 views

I have a huge amount of time series data, each representing some observations at a certain position. Thus of course there exists spatial correlation. I am trying to reorganize these lines of ...
Score of -1
2 answers
102 views

My JPG image has a white background around it. I don't want to change the image itself, I just want to make the white background transparent.Here is the code: import cv2 import numpy as np from PIL ...
Score of 0
0 answers
109 views

I am trying to determine how to write the camera serial number to a jpeg file using C#. I had thought that it would be case of setting an appropriate EXIF header value (and maybe it is), but when I ...
Score of 1
0 answers
42 views

I have an image of a car with its license plate. I need the text on the license plate. The image is a pixelated jpeg. I know that by compressing information is lost. My question: I want to generate ...
Score of 0
1 answer
473 views

I'm looking for a technical description of AVIF, in order to understand how it works. Something similar to ITU T.81 from 1993 which describes clearly how JPEG works. I'm aware of the description of ...
Score of 0
0 answers
133 views

I have the below code and i get this error: File "C:\Users\omar\AppData\Local\Programs\Python\Python312\Lib\site-packages\jpeglib\functional.py", line 71, in read_dct return DCTJPEG( ^^^^^^^...
Score of 1
0 answers
62 views

I am running X11 11.0 / X.Org 1.21.1.7 on Debian 12, though I have the feeling this is not related to my particular version of X11. I have a script that does an image capture from my screen using ...

1
2 3 4 5
99