Gimp.units_to_pixels
@accepts(float, Gimp.Unit, float)
@returns(float)
def units_to_pixels(value, unit, resolution):
# Python wrapper for gimp_units_to_pixels()
Converts a value specified in unit to pixels.
Since 2.8
- value
value in units
- unit
unit of value
- resolution
resloution in DPI
- Returns