Questions tagged [jpg]

A commonly used method of lossy compression for photographic images

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

Roadway asset extraction using JPEG street imagery

I’m searching for a way to capture features on a roadway using street-view imagery. I have a drive with hundred of thousands of street view Jpeg images at my disposal. In the attached example, I ...
doronwen's user avatar
  • 420
0 votes
0 answers
23 views

Translate a JPEG image to NITF in C++? (maybe using GDAL?)

The following question is similar, and shows how to do translation from PNG to NITF on the linux command line using GDAL: Performing gdal translate to png/jpeg? I need to do something similar in C++. ...
Vinny's user avatar
  • 1
1 vote
1 answer
86 views

Conversion of JPEG with JSON coordinates into a GeoTIFF

I have a JSON file that contains 1000 sets of coordinates that relate to 1000 different/separate JPEGs. How do I go about incorporating the coordinates into the JEPG to create the georeferenced JPEG, ...
user228312's user avatar
0 votes
0 answers
56 views

Exporting with ArcMap over 2000 dpi

I am a geology student trying to export a map I produced in very high resolution so I can zoom in and across the ground with speed and still be able to see all the detail. My base map is 5cm ...
Xiopop's user avatar
  • 1
0 votes
0 answers
289 views

How to do JPEG compression for TIFF file in QGIS

I am trying to compress a large Tiff file of an Interpolated DEM (TIN interpolation) that that I created in QGIS. I am using the tool warp (reproject) listed under projections under ´Raster´ in the ...
Adamski's user avatar
  • 71
0 votes
1 answer
337 views

Convert huge TIFF to JPEG using GDAL

I need to to write the right code to convert a huge TIFF to JPEG using GDAL. New with coding so it is hard to do alone.
Vyacheslav Kostromin's user avatar
0 votes
1 answer
215 views

Resizing and Saving GeoTIFF into JPG(JGW)

I want to resize a batch GeoTIFF files into 1062*1653, and save the batch GeoTIFF into JPG (associated with JGW). I tried resize one TIFF in QGIS, but how do I apply the whole action to 8000 GeoTIFF ...
Irene's user avatar
  • 3
3 votes
1 answer
93 views

JPEG is not connected in GeoServer

When manually creating a World Image (JPEG) repository in GeoServer 2.15.5-2.21.1, I get an error: Could not list layers for this store, an error occurred retrieving them: Failed to create reader ...
i'm guru's user avatar
1 vote
1 answer
472 views

Gdal and Pillow Tiff to Jpeg

I have been using the Pillow code below to convert Tiff to Jpeg, but have recently found that I can use Gdal to also convert Tiff to Jpeg. I am trying to understand what the main difference is between ...
Binx's user avatar
  • 1,290
0 votes
0 answers
254 views

Convert multiple PNG files to one JPEG

Here I have converted a .mbtile file to PNG. The output creates a main folder with multiple subfolders. Those subfolders contain multiple PNGs. I would like to convert all those PNG files to one JPEG ...
Donny's user avatar
  • 1
0 votes
2 answers
74 views

Using YCbCr with JPEG tiles in MapProxy

MapProxy allows some configuration of the image format used: https://mapproxy.org/docs/nightly/configuration.html#image-format-options How can I make it use the YCbCr color space for JPEG tiles? Or ...
bugmenot123's user avatar
  • 10.2k
1 vote
1 answer
89 views

How could I make .jpg files don't use the QGIS icon [closed]

I'm a bit perfectionist and the QGIS have a annoying little problem: it changes all of my .jpeg and .jpg icons to QGIS file icons. I would like to change that, but I have no idea. I use Linux Minx ...
Tiago's user avatar
  • 21
3 votes
1 answer
791 views

JPEG compress hillshade

I have a hillshade which I want to compress using JPEG compression: gdal_translate -co COMPRESS=JPEG -co TILED=YES /home/bera/Drives/ssd1/Hillshades/testhillshade.tif /home/bera/Drives/ssd1/Hillshades/...
BERA's user avatar
  • 67.1k
0 votes
1 answer
4k views

Getting Export Failed error in Export Layout tool of ArcGIS Pro

I get the "Export Failed" error message when I run the Export Layout tool of ArcGIS Pro. It happens then I try exporting a JPEG, or a .pdf. When I have layers visible or none visible. In the ...
Woodsmith.Ryan's user avatar
4 votes
1 answer
114 views

Gradients Changed on Export in QGIS when Coord Mode set to Viewport

I made a map in QGIS that includes a couple different gradients. Here you can see an indicator map that has a gradient fill enabled. (This image is from the print layout/composer.) (Here is the ...
Ben's user avatar
  • 395
4 votes
1 answer
638 views

Converting big GeoTIFF file into JPEG

I have a big high-resolution orthophoto image (6cm/pixel, 22gb). I need to convert it to a JPEG image. Using QGIS (Raster - Conversion - Translate (Covert Format)) or the same GDAL command in OSGeo4W ...
Kerbl4's user avatar
  • 169
0 votes
1 answer
145 views

How to calculate the Exif metadata YCbCrPositioning from an image? [closed]

I'm checking how to calculate that value from a JPEG file and I'm pretty confused: YCbCrPositioning should be defined as shown in this page: https://freeimage.sourceforge.io/fnet/html/4A015DE9.htm ...
user2638180's user avatar
0 votes
0 answers
534 views

Downloading a tile in OpenStreetMap, georeference it and export to .jpg or. tiff

Quick explanation of what I need: I need to get a good quality street map size 1 degree x 1 degree. Lets say S25 E 28 and S 26 E 29 If possible zoom level 14 at least. After downloading this tile, I ...
Pieter Kriel's user avatar
0 votes
1 answer
1k views

How to Overlay the GeoTIFF file on Google Earh

I found how to open the GeoTIFF files on the Google Earth Pro from this site. However, though I followed the way, it just show white images on the Google Earth Pro like this: You can see three boxes ...
Changwan Sun's user avatar
0 votes
0 answers
233 views

QGIS 3.16.6 cannot load JPG

I'm trying to load raster file JPG format into QGIS on Linux. And then I got this message: Invalid Data Source : /home/name/map/13-36.jpg is not a valid or recognized data source. If I use "Add ...
user avatar
0 votes
1 answer
291 views

Is there a way to clip a jpg layer in QGIS?

I have a jpg image as a layer in QGIS but want to clip it to get rid of the white background is this possible? As it is not a raster file, when I convert it to a raster it losses its image quality!
Lucy's user avatar
  • 1
0 votes
1 answer
912 views

Saving raster to jpeg with rioxarray

I wanted to save a raster (1 band) file as a jpeg with: xarray.rio.to_raster(save_path, compress='JPEG', photometric='YCBCR' if xarray.sizes['band'] == 3 else None, ...
Sebastian H's user avatar
3 votes
2 answers
2k views

Rasterio and OpenCV reads JPEG differently

I realise a very similar question was asked as Rasterio and OpenCV shows two different pixel arrays for same image. However my situation is slightly different and I only wish to know why this ...
ashnair1's user avatar
  • 379
0 votes
1 answer
155 views

Removing old logo filepath from layout view in ArcMap

I'm using a very old MXD in ArcMap. We have a wall map set up with symbology to show one type of our strucutres. The problem is that in our legend, our old company logo file path has replaced the ...
Irrigation_GIS's user avatar
1 vote
2 answers
2k views

Making and exporting high resolution (detailed) map in QGIS

My co-worker gives me a map in JPEG format which is exported from ArcGIS Desktop. When I zoomed it, it shows every detail of the map. I am using QGIS and I export a map from QGIS. When I try to zoom ...
Mollalign Yizengaw's user avatar
0 votes
0 answers
206 views

JPEG file wont open in QGIS 3.10 but does in QGIS 3.4

I recently made the upgrade to QIGS 3.10 from 3.4 and I am having trouble loading a JPEG image that previously worked fine in 3.4. In the georeference window when I try to open the raster I am given ...
Andrew's user avatar
  • 1
1 vote
1 answer
292 views

gdal_translate to JPEG has no EXIF in the output

I am trying to create .jpg files that can be consumed on the web from a .tif image. I would like to rely on EXIF data about the image metadata, however, I fail to read any. What am I doing wrong? $ ...
suricactus's user avatar
0 votes
1 answer
492 views

Error with .jpeg in Georeferencer

QGIS error message when in Georeferencer: .jpg is not a supported raster data source. libjpeg: Bogus Huffman table definition How do I fix this? Tried different .jpeg and still doesn't work. Previous ...
ClearMappingCo's user avatar
1 vote
1 answer
395 views

Extract JPEG out of raster based on rectangle location in QGIS

I have 10 overlaying rasters (both one- and multi-band) - same area, different date. I also have shapefile layer with 12 rectangle polygons. What I want is to extract proportion of raster inside each ...
daky's user avatar
  • 355
0 votes
3 answers
2k views

Google Earth - Force KML polygon on top of image overlay

In Google Earth: Step 1. Create polygon layer. Step 2. Overlay image file (mine is in jpg format). Step 3. Move polygon layer above and below image file in the "My Places" menu. I cannot ...
Michael James's user avatar
1 vote
2 answers
740 views

QGIS 3.4 Not Exporting Map to JPEG, JPG, PNG, PDF

I'm using 3.4 version, and unable to export my map as different image types. It immediately says my export was successfully saved, but when I navigate to the folder it says I saved it in, nothing is ...
Ashley Lynn Tarver's user avatar
2 votes
1 answer
3k views

Trying to install gdal 3.0.4 on Red Hat 8

I'm running Red Hat 8, and I'm trying to install gdal 3.0.4 on it. The commands I've excuted thus far: wget http://download.osgeo.org/gdal/3.0.4/gdal-3.0.4.tar.gz tar zxvf gdal-3.0.4.tar.gz cd gdal-...
drizzle123's user avatar
2 votes
2 answers
1k views

QGIS not loading jpg with coordinate information

I have downloaded some jpg files that came with jpgw cordinate information but when I bring the data into qgis using the Data Source Manager it doesn't ask me for the projection and it doesn't place ...
GeorgeC's user avatar
  • 7,958
1 vote
0 answers
71 views

Printing Soviet-era Russian military maps at original scale

I have some Soviet era maps of my country that are very detailed. I have access to a plotter and would like to make a hard copy for my hiking trips but have issues getting the resolution/map scale to ...
Valentin Virban's user avatar
4 votes
1 answer
12k views

Save GeoDataFrame to .jpg file

I have a GeoPandas DataFrame (loaded from a shapefile) containing a number of polygons which looks like this: geometry raster_val 0 POLYGON ((8.56799 47....
ksnn's user avatar
  • 141
1 vote
0 answers
126 views

Batch convert GeoTIFFs to JPEG keeping GPS info [closed]

How can I convert a batch of GeoTIFFs files to JEPG preserving GPS info on EXIF?
Hubertokf's user avatar
  • 111
1 vote
2 answers
4k views

Python ImportError with libgdal, undefined symbol: opj_codec_set_threads

GDAL and its Python 3 bindings have been installed through apt package manager for weeks, but, suddenly: from osgeo import GDAL ------------------------------------------------------------------------...
Arthur's user avatar
  • 2,292
0 votes
0 answers
79 views

GeoServer ArcGIS rasters problem

My GeoServer 2.15.0 doesn't create mosaic storage using rasters created in ArcGIS (GeoTIFF, jpg). Everything is fine, when rasters created in QGIS or GlobalMapper. When I'm trying to create mosaic ...
Sergey N's user avatar
  • 309
1 vote
1 answer
130 views

How to convert a jpeg map of borders into a shapefile?

I have a map of French departments from the 19th century (impossible to find in shapefile format) in jpeg format and I would like to convert it into a shapefile in order to regroup raster data and ...
Danellb's user avatar
  • 35
2 votes
0 answers
191 views

Save GridCoverage2D to JPG [closed]

I am using following code to save a Goverage2D to JPG: File tmpJpgFile = File.createTempFile("temp", ".jpg"); Iterator<ImageWriter> writers = ImageIO.getImageWritersBySuffix("jpg"); ImageWriter ...
mcfoi's user avatar
  • 165
1 vote
1 answer
277 views

Extract 3 colors from JPEG and change it by 3 other

I would like to import a JPEG image, find and extract 3 colors and change by 3 others to use as ID. I can find the 3 colors I want by using Raster and I save the 3 images associated to these 3 colors....
Laurent's user avatar
  • 139
0 votes
1 answer
353 views

Convert Sentinel GeoTIFF file to JPEG image

I am facing difficulty converting between Sentinel GeoTIFF file and JPEG file. I used below command i.e. gdal_translate -b 4 -b 3 -b 2 -of JPEG -scale inputimage.tif outputfile.jpeg The problem with ...
bambi's user avatar
  • 113
1 vote
1 answer
4k views

gdal_translate JPEG to GeoTIFF using Python

I was able to convert my GeoTIFF images (from the SpaceNet dataset) to JPEGs using gdal_translate but I would like to know how to convert the JPEGs back to GeoTIFF. I've noticed that gdal_translate ...
ashnair1's user avatar
  • 379
1 vote
1 answer
636 views

Differences between jpg and jpeg - tif and tiff in QGIS [closed]

I'm running QGIS 2.18.21 but this has been an issue in a few versions; is there any reason why QGIS offers both jpg and jpeg as well as tiff and tif options to export images? Apart from being annoying ...
Steve H's user avatar
  • 123
-1 votes
2 answers
2k views

TIFF to JPEG compress [closed]

I have a GeoTIFF image, size 11gb. It's too big to work with. How can I compress it in JPEG format with QGIS? I tried through GDAL and did not succeed.
hani zaen's user avatar
0 votes
1 answer
223 views

Seeking code sample or pointer showing how to calculate Corner Coordinates of JPG file based on EXIF GPS data? [closed]

This is a follow up to this question: Using GDAL to extract Corner Coordinates based on a jpg file's GPS EXIF data? Per the answer I received to the above question, gdal_merge cannot merge JPG ...
Allan Xu's user avatar
  • 131
-1 votes
2 answers
1k views

Exporting image from GEE to Google Cloud Bucket in PNG/JPEG format? [closed]

The below lines of code shows the export of the image to the cloud. I am unable to convert my file to JPEG/PNG. I want my image to be saved in PNG/JPEG in the cloud. Export.image.toCloudStorage({ ...
Sohini Goswami's user avatar
8 votes
2 answers
5k views

How to put geotagged .jpg thumbnails on a map in QGIS?

I have a collection of photos (already geotagged in EXIF) and I'd like to put thumbnails of these pictures on a map (at the location where they were taken). Just looking for a static visualisation of ...
Arjen's user avatar
  • 83
0 votes
1 answer
62 views

ArcGIS file export

Am having issues exporting a Layout Map of an area from ArcGIS to any raster format (JPEG, TIFF and PNG). The map gets partially exported with no errors reported. Exporting to PDF works fine. My ...
Jeff's user avatar
  • 11
0 votes
1 answer
1k views

Using arcpy.mp to export map to JPEG?

I am using ArcGIS Pro for my map automation. I try to use arcpy.mp module to identify the maps in the current project. I want to export the map into a jpeg image like what we can do via Map Export ...
LUSAQX's user avatar
  • 101