Jump to content

don't want create images with GD-lib, - and some more needs


horst
 Share

Recommended Posts

The best way to handle this is with getters/setters, which I can add to the class.

@Ryan: will you add getters to the class? Have downloaded last dev-branch, but haven't seen it.

Meanwhile I've done some Sharpening Tests with GD:

Looks very promising! :)

Link to comment
Share on other sites

@Ryan: will you add getters to the class? Have downloaded last dev-branch, but haven't seen it.

I'll get them committed here soon. But attached is a file that has them added:

ImageSizer.php

        public function getFilename() {
                return $this->filename;
        }

        public function getExtension() {
                return $this->extension;
        }

        public function getImageType() {
                return $this->imageType;
        }

        public function getWidth() {
                return $this->image['width'];
        }

        public function getHeight() {
                return $this->image['height'];
        }

        public function isModified() {
                return $this->modified;
        }

 

I love the video! well done. 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...