Skip to content

erorr line in resize image using fit in visual studio code #3249

Description

@mojifier

I work with Visual Studio Code 1.46.1 and Ci 4.0.2. For resize image I have this code:

$image = \Config\Services::image()
        ->withFile('/path/to/image/mypic.jpg')
        ->fit(100, 100, 'center')
        ->save('/path/to/image/mypic_thumb.jpg');

this work but i see red line error in visual studio code like this:

f

when i change fit to crop red line is removed and work true. i think fit function have a problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions