Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [png]

Use this tag when asking questions related to, Portable Network Graphics (PNG), a bitmapped image format that employs lossless data compression

-1
votes
2answers
36 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({ ...
0
votes
0answers
29 views

Add Geotagged PNG to ArcGIS Map

I have geotagged png chart images I'd like to display on my map. I'm using ArcGis 10.2.1 for Desktop on Win7. I investigated Data Management Tools > Photos > GeoTagged Photos to Points tool in the ...
3
votes
2answers
102 views

ERROR 1: Error : band 1 has no color table

I would like to convert a GeoTIFF to PNG or JPEG RGB, and my GeoTIFF is stripped of a lot of valuable data (I think..) I am on ubuntu and I am using gdal_translate to try and make a GeoTIFF turn into ...
1
vote
1answer
18 views

Saving content of map.div as PNG using widget with ArcGIS Web AppBuilder?

I basically need to take a screen capture of the div WITHOUT all of widgets and panels on top of it. My plan is to export map scenes for eventual use in PowerPoint, so I want a 'what you see is what ...
0
votes
1answer
33 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 ...
0
votes
0answers
48 views

Convert TIFF raster layer to PNG

I have been given some images in TIFF format, and I need to convert them to the PNG format. I have been given that the TIFF file contains 4 bands: R, G, B, and NIR (which I do not need for the PNG). ...
1
vote
1answer
28 views

Alpha-channel PNG from gdaldem

I was hoping that the following command would give me an alpha-channel PNG which was transparent where the DEM has "nodata": gdaldem color-relief -alpha -of png dem.tif palette.dat out.png I get an ...
0
votes
1answer
73 views

Filling polygon with png pattern in OpenLayers?

I want to fill a set of polygons with png pattern. Here is an extract of my code : var canvas = document.createElement('canvas'); var context = canvas.getContext('2d'); var pattern; var imageObj ...
1
vote
0answers
43 views

GDAL paint TIF with the shapefile and convert to PNG

Basically, what I want to do is to create a new image that is white where no features exist and black where a feature exists. I am trying another solution, get the pixel coordinates of each feature ...
0
votes
0answers
31 views

Consuming Amazon S3 hosted PNGs with quadkey format as tile

I have PNG tiles hosted in an Amazon S3 Bucket. I would like to consume these as a layer into a leaflet map. I have taken this example for reference which converts the quad key to tiles. How would ...
2
votes
0answers
25 views

When exporting, mask behind text becomes garbled (Data Driven Pages)

I am using Data Driven Pages with different rotations for a project. When I export to PDF or PNG, the mask behind the text moves and rotates. It does not seem to rotate in the direction of the data ...
1
vote
0answers
94 views

Export PostGIS geom polygon to PNG

I am trying to build a REST API using Flask and Postgis. I have a PostGIS table with a GEOM column. Querying the table using ST_AsGeoJSON gives me a MULTIPOLYGON with lat, lon in WGS84. [('...
0
votes
1answer
159 views

convert png with alpha channel to GeoTiff

How do I convert a png with an alpha channel to a GeoTIFF using gdal_translate so that the alpha channel gets reflected in the GeoTiff. Currently the GTiff that is produced is resulting in 3 Bands, ...
0
votes
0answers
16 views

Spacing Between Custom Symbols and ArcGIS Symbols in Legend

I am wondering why the legend spacing between picture symbols that I imported into ArcGIS and standard ArcGIS symbols (e.g. circle points) is different? The pictures symbols I imported seem to be ...
2
votes
1answer
436 views

Performing gdal translate to png/jpeg?

I tried gdal translate to png: gdal_translate image.bsq image.jpg -of JPEG -outsize 10% 10% -scale and jpeg: gdal_translate image.bsq image.png -of PNG -outsize 10% 10% -scale jpeg looks better ...
0
votes
1answer
90 views

gdal translate -co, which options are available to PNG?

I can create a PNG with: gdal_translate -of PNG -outsize 10% 10% image.bsq image.png I see there is a -co (creation options) parameter I can pass to gdal translate. Where can I find which options ...
1
vote
0answers
46 views

Export raster to 8bit png with transparency

I have various scanned images in different file formats (jpg, tiff, png) and I need to georeference, clip and export those images. As a result I need to have a 8 bit png file with transparacy (the ...
0
votes
0answers
28 views

Pulling Data off PNG map scan using ArcGIS Desktop?

I have scanned a map with several trade routes on it and georeferenced it on top of a hydrology (river system) map of the U.S. The scanned map is a PNG file. How can I pull off the trade routes? ...
0
votes
0answers
31 views

Raster to PNG appears as a black rectangle on Image Viewer of ArcGIS Desktop?

I have road network data on a shapefile, and I use ArcGIS to convert it into a Raster. Then, I am trying to use this raster create a .png file which I can read into Matlab and calculate distances ...
0
votes
1answer
225 views

Geoserver SLD style PointSymbolizer ExternalGraphic issue

Any idea why this isn't working? It's taken straight from here: http://geoserver.readthedocs.io/en/latest/_downloads/point_pointasgraphic.sld refernced from this page http://geoserver.readthedocs.io/...
0
votes
1answer
96 views

Calculate elevation from rgb from png created from qgis

I am using qgis to create a raster elevation image (png) from SRTM data. I need to create a png via qgis which I will then query to determine the rgb of particular pixels via php. How do I define a ...
0
votes
0answers
46 views

Obtain a sp object from a KML+PNG file in R

I have a bunch of files to deal with in R. I have KML files, with a point (and associated coordinates), and an associated PNG file, representing a shape. I need to convert them in a sp (or sf) file in ...
1
vote
0answers
32 views

How to workaround truncation of text description for elements in qgis-modeler 2.18.15?

I am trying to make a QGIS processing workflow through the Graphical Modeler (QGIS 2.18.15). I have completed it, and wish to export it as a *.PNG. However, the elements and algorithms I added to the ...
1
vote
1answer
115 views

Png, prj, pgw same name, but png doesn't show up after loading. What SRC to take?

someone gave me a dataset with the three types of files, but when I load as a raster the png.files it doesn't show up on the maps. They ask me what SRC to take and I don't really know which one to ...
1
vote
1answer
61 views

Map Automation Script For Looping Help

Working on a Python script that I will run inside of ArcGIS 10.5 that will export PNG maps. Each map will be a different state and for every state there will be 5 different physician specialty types, ...
4
votes
2answers
766 views

Converting 4-band TIF to PNG while keeping all 4 bands?

I have a number of aerial photos containing both RGB and a near-infrared band. The images are in TIF-format, however I need to convert them to PNG without losing any of the bands. I have tried ...
1
vote
0answers
179 views

Different image quality for different zoom levels (OpenLayers/GeoServer)?

Original data that raster layers are made of are of a high quality. At a small scale (1:100) this is useful. However at a large scale (1:10 000) it results in ~300KB PNG images which are actually not ...
3
votes
1answer
182 views

What CRS to use for cylindrical raster world map?

I've drawn a cylindrical world map for a fictional planet. Exported it as png and scaled it, so one pixel corresponds to one km at the equator and from north to south pole. I tried several ...
2
votes
1answer
123 views

Save to PNG changes colors

I am trying to save this print composer as PNG When I open the saved file, this is the result The same thing happens if I save to pdf. Any idea what's going on?
2
votes
1answer
58 views

Why does it take longer and longer to export my maps as png in a loop?

And how can I improve my performance? I wrote a simple python script to export a few hundred maps: Open a MXD, add a layer, apply a definition query, apply a symbology, export to PNG. The definition ...
0
votes
1answer
226 views

Mapnik to reuse colors from geotiff when rendering png format

I am trying to make mapnik read this geotiff file and render it as a PNG file. Unfortunately all the colors from the geotiff file are not retained. The resulting PNG is completely blank. This is my ...
1
vote
0answers
28 views

a broken PNG output in mapserver

i want to show my shapefile on the web my template file is: <html> <head><title>Simple Mapserver Template HTML Document</title></head> <body> <img src="[img]" ...
6
votes
3answers
1k views

Serving png image tiles using geoserver

I have managed to : 1) Create layers 2) Applied SLD Styles 3) Group the layers together and able to preview What I have is this(layer preview): I would now want to serve this layer via tiles. ...
0
votes
2answers
374 views

Convert TIF to PNG without normalizing alpha

I'm trying to make some height maps with elevation data from https://earthexplorer.usgs.gov/. Since they give you assets in separate TIF tiles, I need to convert them to PNG and stitch them together ...
1
vote
0answers
584 views

Draw shapefile over PNG image in R

I have a satellite image as a PNG with known coordinates (bottom, left, top, right). I want to draw a shapefile on it (the limits of a county) in R. My first thought was to convert the PNG (it's read ...
2
votes
1answer
26 views

Model creation on ModelBuilder?

I need to create a model. I have a group of regions (A, B, C) each one of those has multiple rasters and some other shapefiles. For every region is needed to calculate the area of every region content ...
1
vote
0answers
237 views

Mapserver blank image just with “wms_format” “image/png”

I Have a problem with mapserver 7.0.6 (same with 7.0.4). If I use "wms_format""image/jpeg" everything is fine. But if it's "wms_format" "image/png", there's nothing more than a blank image with QGIS. ...
-1
votes
1answer
373 views

Exporting map with transparent background to png or jpg? [duplicate]

Is there any possible way to export a map from Arcmap 10.5 without the white background? I need to insert the map in a dashboard with blue background and i only need the outline of the layer not the ...
1
vote
1answer
1k views

Translating GeoTIFF to 16-bit PNG with GDAL

I have a GeoTIFF file which displays the following information when running gdalinfo: Band 1 Block=10012x1 Type=Float32, ColorInterp=Gray Description = Layer_1 Min=1638.991 Max=2577.040 Minimum=...
1
vote
1answer
314 views

Getting PNG image from geoserver with centered feature

I want get PNG image from geoserver, there will be centered feature. Problem is bounding box. How get i extent one feature from wms layer? I use cql_filter for select one feature. One solution is ...
2
votes
1answer
265 views

QGIS export png with accurate hex color values

I have a 32 bit TIFF raster layer in QGIS with one band of integer values between 49 and 72 with some no data values. I'd like to end up with an 8 bit PNG image with matching pixel values. I don't ...
1
vote
1answer
126 views

Wrong dimensons on .png-file when using gdal_translate

I am using gdal_translate -of PNG -ot UInt16 -scale MIN MAX 0 65535 "source.tiff" "output.png" in the command-prompt to create a .png-file from a .tif-file that I created using the Interpolation-...
2
votes
1answer
883 views

How can I create a 16bit PNG heightmap in QGIS?

I am new to QGIS or any GIS software. I have been using a totalstation to measure a hillside and I am trying to convert the point cloud to a 16bit png heightmap that I can use in Unreal Engine 4. I ...
3
votes
2answers
542 views

Georeferencer QGIS not working?

I am trying to georeference a .png file. After inserting all the data I get the following error "Transform Failed: Failed to compute GCP transform: Transform is not solvable." What can be the ...
2
votes
2answers
426 views

R get_map returns map correctly, but filename argument does not work?

In R library ggmap there is a function get_map which saves a file (or at least have saved files automatically two or three years ago). Now get_map is not saving anymore, although the parameter ...
4
votes
3answers
884 views

Convert ST_Union polygon to PNG file in PostGIS?

I am working with Postgres 9.6, PostGIS 2.3 and GDAL 1.11.5. I would like to output the union of some polygons as a single PNG (or other image) file, with the polygons in black on a white background. (...
1
vote
1answer
97 views

Exporting maps as PNG along a predefined grid

I need to export a series of maps along a predefined grid across a state. I'm trying to automate the process with arcpy. Right now I manually choose to export a TIFF file at 500 dpi resolution, 8-bit ...
-1
votes
2answers
38 views

Exporting maps to PNG and later changing map in ArcMap?

I exported maps to a png file but want to make some changes to the maps. Is there a way to go back to the map you exported so you can edit it in ArcMap? I really don't want to have to go through ...
1
vote
0answers
278 views

How to make a .pgw file for a .png depicting a 2D profile

My question is more of an inquiry about whether I am trying to do is possible. I would like to reference an image depicting a 2D Georadar profile. I know that world files are usually used for ...
1
vote
0answers
34 views

Mapcache support for multiple formats

I'm wondering if there's any other way in map cache to support multiple formats (png and jpeg for example) than to create a new tile set? For example if I have a WMS 'source' called topo2_wms (that ...