<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I do a lot of visualisation of raster layers using the pseudo-color symbology, but I don't like how the legends are produced: they just show the individual colors for each of the specific values you've selected in the symbology dialog box (see <a href="https://www.dropbox.com/s/29yhsofvnrp8ey7/QGISLegend.png?dl=0" class="">https://www.dropbox.com/s/29yhsofvnrp8ey7/QGISLegend.png?dl=0</a>).</div><div class=""><br class=""></div><div class="">I've been using the Color Scale Bar for One-Band Rasters plugin available at <a href="http://www.bc-consult.com/free/bccscbar.html" class="">http://www.bc-consult.com/free/bccscbar.html</a> for a while now - albeit in a version that I've modified to run from the command-line. This produces nice 'colorbar-style' legends like this: <a href="https://www.dropbox.com/s/2lsh7wx1ygzykuy/QGISLegend_Colorbar.png?dl=0" class="">https://www.dropbox.com/s/2lsh7wx1ygzykuy/QGISLegend_Colorbar.png?dl=0</a>, but it takes a bit of work (you have to export the color ramp used, and then run this command to load in the file and produce the color bar).</div><div class=""><br class=""></div><div class="">I'm keen to work to integrate this further into QGIS. Is this something which would be encouraged?</div><div class=""><br class=""></div><div class="">I can see a number of different levels of integration:</div><div class=""><br class=""></div><div class="">1. A plugin that works in a similar way to the current plugin - but that allows you to select a layer directly, and skip the stage of having to save the color ramp out to a file. This should be fairly easy, and just requires finding a way to grab the data that would be saved out to file through the QGIS API. Can anyone point me in the right direction?</div><div class=""><br class=""></div><div class="">2. A plugin to the Print Composer (can this be done?) which creates a new 'composer object' which will automatically contain a nice colorbar for the specified layer.</div><div class=""><br class=""></div><div class="">3. A new feature for QGIS itself to allow legends for pseudo-color rasters to be either the current style, or this 'colorbar' style. This would be the hardest to do, and I'm not entirely sure whether my programming skills are up to it (I gather the majority of QGIS is written in C++).</div><div class=""><br class=""></div><div class="">Any thoughts on the idea itself, or any of these potential levels of integration?</div><div class=""><br class=""></div><div class="">Best regards,</div><div class=""><br class=""></div><div class="">Robin</div></body></html>