Heroku - how to enable gd on heroku php application?
Just adding GD as dependency (require) in composer does not load the extension GD. It just tells that this package needs gd enabled. "ext-gd" is just a virtual package, not existing for real.
you have to install it on your platform.
see here composer - platform-packages