I would like to know if there is a method in PyQgis to get color ramp details of a certain rasterimage?
I had tried to type QgsColorRampShader().colorRampItemList(),