Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scale image relative size?
#5
You need to know that most GIMP functions in script-fu return a list, not a single value, so you need to extract the first value from the list:

Code:
(newWidth (car (gimp-image-width image)))
(newHeight (car (gimp-image-height image)))
Reply


Messages In This Thread
Scale image relative size? - by BaconWizard17 - 08-14-2022, 02:46 PM
RE: Scale image relative size? - by Ofnuts - 08-14-2022, 03:15 PM
RE: Scale image relative size? - by BaconWizard17 - 08-25-2022, 12:15 AM
RE: Scale image relative size? - by rich2005 - 08-14-2022, 03:55 PM
RE: Scale image relative size? - by Kevin - 08-25-2022, 07:47 AM
RE: Scale image relative size? - by BaconWizard17 - 08-26-2022, 06:00 PM
RE: Scale image relative size? - by Ofnuts - 08-26-2022, 07:14 PM
RE: Scale image relative size? - by BaconWizard17 - 08-27-2022, 07:08 PM

Forum Jump: