[Qgis-user] GetLegendGraphics error truncate

Luigi Pirelli luipir at gmail.com
Tue Nov 6 06:11:34 PST 2018


yes it is ok,

contentType.startsWith( QLatin1String( "image/" ), Qt::CaseInsensitive ) ||
contentType.compare( QLatin1String( "application/octet-stream" ),
Qt::CaseInsensitive )

Luigi Pirelli

**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* GitHub: https://github.com/luipir
* Mastering QGIS 2nd Edition:
*
https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
* Hire me: http://goo.gl/BYRQKg
**************************************************************************************************


On Tue, 6 Nov 2018 at 14:32, Andrea Peri <aperi2007 at gmail.com> wrote:

> I guess actually the content-type should be something like
>
> "image/png"
> or "image/png8"
>
> It is ok for qgis ?
>
> Thx,
> A.
>
>
> Il giorno mar 6 nov 2018 alle ore 14:23 Luigi Pirelli <luipir at gmail.com>
> ha scritto:
>
>> sorry I wrote in Italian
>>
>> happen when the image (or a tile) in cache is null (removed)
>> or contentType i snot image or application/octet-stream
>>
>> please check if in 3.4 moving over the string shows the complete string
>>
>> regards
>>
>> Luigi Pirelli
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20181106/8eb00c25/attachment.html>


More information about the Qgis-user mailing list