-
- Downloads
- Patch #373613 by quicksketch and drewish: in order to operate on images multiple
times (such as crop, scale, then desaturate) without quality loss, we need to pass images by their raw GD (or other library) resources rather than re-opening the same image repeatedly, which causes wasted processing and loss of quality when using JPEG images. This patch reworks the image toolkits, adds some new image manipulations and adds some impressive SimpleTests.
Showing
- includes/file.inc 4 additions, 6 deletionsincludes/file.inc
- includes/image.inc 184 additions, 95 deletionsincludes/image.inc
- modules/simpletest/tests/image.test 397 additions, 0 deletionsmodules/simpletest/tests/image.test
- modules/simpletest/tests/image_test.info 8 additions, 0 deletionsmodules/simpletest/tests/image_test.info
- modules/simpletest/tests/image_test.module 121 additions, 0 deletionsmodules/simpletest/tests/image_test.module
- modules/system/image.gd.inc 127 additions, 104 deletionsmodules/system/image.gd.inc
- modules/system/system.admin.inc 17 additions, 3 deletionsmodules/system/system.admin.inc
- modules/system/system.api.php 33 additions, 10 deletionsmodules/system/system.api.php
- modules/system/system.module 6 additions, 1 deletionmodules/system/system.module
Loading
Please register or sign in to comment