我正在使用$this->upload->data()
我正在使用这里的代码https://gist.github.com/codee/3927343根据EXIF固定旋转
(最终使用$CI->image_lib->rotate();
)
问题是:如何在旋转后"刷新"image_width
和image_height
以使其正确?
如果有人到达这里-参考答案:
呼叫:$this->upload->set_image_properties($full_path);
然后重新调用-$this->upload->data()
完成了