0

I want to run this script, but it always gives me this error message:

Traceback (most recent call last): File "C:\PROGRA~1\QGIS21~1.1\bin\pct2rgb.py", line 121, in ct_size = ct.GetCount() AttributeError: 'NoneType' object has no attribute 'GetCount'

I tried it with different images - all the same problem...

Can anybody explain what tcp means?

closed as off-topic by PolyGeo Apr 26 '17 at 21:17

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

1

So I found a workaround:

Save as and then tick on "rendered image"

Not the answer you're looking for? Browse other questions tagged or ask your own question.