1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-01-18 03:28:16 +01:00

175 Commits

Author SHA1 Message Date
Mikael Roos
5fa05e8282 updating strategies to use for no-upscale 2014-12-15 17:16:41 +01:00
Mikael Roos
1144c8e105 updating strategies to use for no-upscale 2014-12-15 17:14:06 +01:00
Mikael Roos
90bfced741 Added option - no-upscale, nu - as resizing strategy to decline upscaling of smaller images. Fix #61. 2014-12-15 15:41:51 +01:00
Mikael Roos
61e0473f47 CImage::resize now crops using imagecopy without resamling. 2014-12-15 09:41:11 +01:00
Mikael Roos
2dbe33bd8e Correcting internal details for save-as and response json which indicated wrong colors. Fix #62. 2014-12-15 09:24:14 +01:00
Mikael Roos
ece0be086c Correcting internal details for save-as and response json which indicated wrong colors. Fix #62. 2014-12-15 09:19:23 +01:00
Mikael Roos
e236757e5d adding testcases for resizing strategies 2014-12-15 09:18:41 +01:00
Mikael Roos
951231f360 Fixed fill-to-fit that failed when using aspect-ratio. Fix #52. 2014-12-14 17:09:29 +01:00
Mikael Roos
34124e687f Removed &nc 2014-12-14 17:09:12 +01:00
Mikael Roos
ea06d5cfe6 Fixed fill-to-fit that failed when using aspect-ratio. Fix #52. 2014-12-14 17:04:51 +01:00
Mikael Roos
cfc4a5f0ed JSON returns correct values for resulting image. Fix #58. 2014-12-13 00:23:40 +01:00
Mikael Roos
00dca21be0 Corrected behaviour for skip-original. Fix #60 2014-12-13 00:12:39 +01:00
Mikael Roos
9680cd421b spelling 2014-12-06 15:53:14 +01:00
Mikael Roos
b335587aa4 prepare to tag v0.6 v0.6 2014-12-06 15:39:18 +01:00
Mikael Roos
afa59313e6 prepare to tag v0.6 2014-12-06 15:29:48 +01:00
Mikael Roos
5dddad60eb prepare to tag v0.6 2014-12-06 15:27:16 +01:00
Mikael Roos
af1aa661b9 rewrote docs. tested. prepare to tag v0.6 2014-12-06 14:33:47 +01:00
Mikael Roos
9015e7ce9d Minor cleaning of properties in CImage, fix #23 2014-12-03 16:15:32 +01:00
Mikael Roos
7911a88d6e Adding webroot/htaccess to show off how friendly urls can be created for img.php. 2014-12-03 16:06:16 +01:00
Mikael Roos
2b6952b0ca Adding webroot/htaccess to show off how friendly urls can be created for img.php. Fix #45 2014-12-03 16:04:10 +01:00
Mikael Roos
640e377ea9 Adding webroot/htaccess to show off how friendly urls can be created for img.php. Fix #45 2014-12-03 16:03:46 +01:00
Mikael Roos
cdbc9b4adb correcting issue with PHP 5.3 where array is used as constant 2014-12-03 15:42:49 +01:00
Mikael Roos
3aa5542664 changing comment for bgc. 2014-12-03 15:31:38 +01:00
Mikael Roos
3d352f72fe Merge branch 'master' of github.com:mosbth/cimage 2014-12-03 15:26:38 +01:00
Mikael Roos
f13b602e11 Added option fill-to-fit, ff. Fix #38. 2014-12-03 15:26:17 +01:00
Mikael Roos
f638dd16a7 Added option fill-to-fit, ff. Fix #38. 2014-12-03 15:25:03 +01:00
Mikael Roos
113b62edc0 Added option 'shortcut, sc' to enable configuration of complex expressions. Fix #2. 2014-11-28 16:25:54 +01:00
Mikael Roos
3c04a2dd0f Added support for custom convolutions. Fix #49. 2014-11-27 22:04:41 +01:00
Mikael Roos
832edc9d26 restructured test programs 2014-11-26 15:16:02 +01:00
Mikael Roos
2d09ea4b44 Restructured test-programs. 2014-11-26 15:13:41 +01:00
Mikael Roos
9177d72bea Check if constants exists. Fix #42 2014-11-26 14:45:38 +01:00
Mikael Roos
d4a03b70dd Adding testcase for #40 2014-11-24 10:46:50 +01:00
Mikael Roos
188f8cd64d Adding option taking comma-separated list of 11 float-values, wraps and exposes . #4 2014-11-24 09:27:47 +01:00
Mikael Roos
4dfbcd9784 Changing ppi to dpr. #25 2014-11-24 07:41:32 +01:00
Mikael Roos
35dd5c9064 Adding option which defaults to 1. Set to 2 to get a twice as large image. Useful for Retina displays. Basically a shortcut to enlarge the image. #25 2014-11-21 23:44:19 +01:00
Mikael Roos
1f5f8c02a4 Adding utility to ease gathering stats on cache usage. #21 2014-11-21 23:14:38 +01:00
Mikael Roos
08ee3064d0 * Cache-directory can now be readonly and serve all cached files, still failing when need to save files. #5 2014-11-21 22:31:04 +01:00
Mikael Roos
ba45f746bb * Cache now uses same file extension as original image #37.
* Can output image as json format using `json` #11.
2014-11-21 22:20:30 +01:00
Mikael Roos
ccc59fbb3a Prepare to tag v0.5.3 v0.5.3 2014-11-21 21:14:19 +01:00
Mikael Roos
e85bc6cee5 Adding testfiles with capital extension 2014-11-21 21:12:22 +01:00
Mikael Roos
3b7485b3b9 Support filenames of uppercase JPEG, JPG, PNG and GIF, as proposed in #37. 2014-11-21 21:01:22 +01:00
Mikael Roos
c83eac8c3c Changing CImage::output() as proposed in #37. 2014-11-21 20:20:35 +01:00
Mikael Roos
78ac29752e Adding security check that image filename is always below the path
`image_path` as specified in `img_config.php` #37.
2014-11-21 19:57:11 +01:00
Mikael Roos
4b64237a4c Changeing comment 2014-11-21 19:37:33 +01:00
Mikael Roos
85f0e3e7d3 moving testilfes to one dir 2014-11-21 19:35:04 +01:00
Mikael Roos
da227d49dd Use the new config item for checking valid filename characters. 2014-11-21 19:34:01 +01:00
Mikael Roos
26449a3236 Adding configuration item to set what valid characters are for the image
filename.
2014-11-21 19:32:05 +01:00
Mikael Roos
20a4f848b7 Moved all test-files into own directory. 2014-11-21 19:24:36 +01:00
Mikael Roos
ec3a6f3491 check if extension exif is loaded #36 2014-09-01 01:27:45 +02:00
Mikael Roos
8523ef5e31 adding testcases for #36 2014-09-01 00:38:26 +02:00