Questions tagged [png]

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

Filter by
Sorted by
Tagged with
7
votes
1answer
3k views

Saving Map Canvas as PNG with transparent background programmatically with QGIS?

I wrote a script to create a big number of heat maps for a given scenario. I would like to save the result of every heat map as an PNG image. I have figured it out doing it with simple Map Rendering ...
26
votes
5answers
11k views

Obtaining print quality PDF or PNG output from QGIS?

I work with people who use ArcGIS Desktop and they have found the best resolution output images are made by creating PDFs. They tell me that *.png and the rest out of ArcGIS Desktop are not ...
6
votes
2answers
9k views

Exporting mxd to image with transparent background from ArcGIS for Desktop?

I cannot get ArcMap 10.0 or 10.1 to "Export Map" to a png or gif with a transparent background -- no matter what I set the background and transparent colors to. Thus, I created the following script, ...
3
votes
1answer
1k views

QGIS Map Composer goes blank, outputs corrupt PDF

I am using 64bit 2.10.1-Pisa on Windows 10. When I set up my composer to print, everything looks fine until I try to print or export. The composer goes completely blank and outputs a corrupted PDF ...
10
votes
1answer
1k views

How to fill composer map with canvas data and export composition as png using Python script in QGIS

I'd like to create a Python script in QGIS that will take some data (shp + tif, in my example), use tamplate Map Composer (from a file) and export created composition to a png image. With almost no ...
5
votes
2answers
3k 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 ...
4
votes
1answer
3k 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 ...
2
votes
2answers
2k views

Having problems creating VRT in QGIS from png files

This is similar to a question asked by someone else, re OS tiles, however, there is a difference! I am a bit of a amateur in GIS and python, but if I take it slow I can usually just about work it out! ...
2
votes
1answer
5k views

How can I correct a .pgw file for a PNG image?

I have a PNG file and I need its .pgw file to be set with NAD 83 as the projection. I have created a .pgw file: 799 0 0 -799 -122.562 37.1946 However when I open the PNG in QGIS or ArcMap 10.2 it ...
2
votes
1answer
965 views

Looping through features in layer to zoom to feature and export to PNG using ArcPy with ArcMap

I have a large number of lines in a shapefile representing sites on a map. Each has a unique 2- or 3-digit Id, but they are not consecutive (i.e. 6, 27, 53,... not 1,2,3,...). I want to zoom to each ...
8
votes
2answers
7k views

Exporting GIS Images with Transparency

I'm trying to export some images of Gulf of Mexico infrastructure that will later be used for non-GIS purposes as overlays onto sea current/weather maps (likely in photoshop). I have no clue how to ...
6
votes
2answers
5k views

R export raster to png without margin

I want to export a raster as a PNG image. I don't want borders, labels, legends, axis... all I want is the map covering the whole image. The data come from here (vegetation cover) and here (...
5
votes
1answer
3k views

GeoTiff convert to PNG with transparency?

I need to convert a GeoTIFF image to PNG format with "NoData" pixels in the original image being transparent in the output. Is there any tool particularly in ArcGIS ArcToolbox or GDAL for this ...
8
votes
2answers
3k views

How do I use QGIS python console to iterate through simple layer queries and png outputs?

I'm really new to QGIS coding and I'm having a hard time finding (especially) the api classes/functions to carry out actions of the Query Builder window. I'm basically trying to do this: Iterate ...
8
votes
1answer
11k views

Import PNG symbols in QGIS

I would like to upload some symbols into QGIS using version 2.14 (Essen). I would like to upload a PNG but it seems the only format available is XML. Do you know if its possible to upload PNG's ...
2
votes
1answer
11k views

Finding good Mbtiles to png tiles converter?

I'm trying to create a slippy map and I need to obtain png tiles. I have exported a .mbtiles file from TileMill and I tried several python scripts to convert this file into png tiles but I always end ...
7
votes
2answers
11k views

Convert PNG to GeoTiff using GDAL

I have a map portion PNG and its associated PRJ file. I want to convert the PNG to a GeoTIFF. I know how to convert a PNG to a GeoTiff if the bounding box is available: gdal_translate -of Gtiff -...
5
votes
3answers
2k 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. (...
4
votes
1answer
1k views

How to make a transparent background image using r.out.png?

Can the white background of the r.out.png of GRASS be changed to transparent?
4
votes
1answer
915 views

Working with PNG images in Photoshop

I have a couple of .png images, they represent relief shadows, only black and white color In ArcCatalog Preview or in ArcMap, I see that image in example, but I when I open it in Adobe Photoshop, ...
3
votes
1answer
3k 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 ...
3
votes
1answer
578 views

Exporting a raster map to PNG in QGIS keeping the exact legend colors

I'm developing a plugin for QGIS called 'Mappia_Example' to allows the community to publish its maps online. But i need some help, i am trying to export a map in QGIS to PNG but its using aproximated ...
3
votes
2answers
4k views

Exporting data frame as PNG in ModelBuilder using ArcMap

I've created a model that when finished creates two symbolized raster layers and adds them to the dataframe. I would now like each layer to be exported as a unique png file. Is there a tool that I can ...
2
votes
1answer
920 views

Exporting map error from QGIS

Whenever I try to export a map as an PNG image I get the 'successfully export' message but there is no file generated. The error happened in Zanzibar so I changed to Noosa but I still can't export the ...
2
votes
0answers
980 views

Getting polygons from PNG images for the QGIS Shapefiles

I would like to have ready polygons (borders) from some .PNG image and use them in QGIS as a shapefile. My file looks like this: which is crude raster PDF. My goal is to execute all borders (marked ...
2
votes
1answer
2k views

error "pointer hDs is NULL in GDAL GetProjectionRef" when using gdal_rasterize [duplicate]

I want to convert a .shp to .tif. So I find the tool gdal_rasterize may help. But when I input the file it always meet this error: pointer hDs is NULL in GDAL GetProjectionRef I have tried different ...
2
votes
1answer
594 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
280 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-...
1
vote
0answers
44 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
107 views

QGIS crashing when exporting very large image

I'm trying to export a PNG of the OS 250k raster with OS Open Rivers over the top. Trying to export the entirety of the national grid caused it to crash, so I tried again with the bottom half of Great ...
0
votes
4answers
8k views

How to plot a point on a static Google map [png]?

http://maps.googleapis.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=13&size=600x300&maptype=roadmap&markers=color:blue%7Clabel:S%7C40.702147,-74.015794&markers=...
-1
votes
1answer
492 views

Convert shapefile to PNG using GeoTools

I need to know how to export a .shp file to .png in Java using geotools. I found an example here: Convert geojson to png. But I need convert shapefile to PNG.