#Kohana image generator Create dummy images.
After installing module, you can link to koig controller in your HTML (or in views) as image file:
- size: can be "width"x"height" or any of predefined sizes. If height is omitted, image will be a square. ex: - 200x200 gif image - 200x100 gif image - 100x60 gif image, "banner" is predefined in core.
- format: Can be one of .gif, .png, .jpg, .jpeg Default is .gif
- parameters:
- bg: background color in hex format, can be 1,2,3 or 6 digit default is 000.ex: bg=aa1234 or bg=aaa
- fg: foreground color. same as background. Default is fff.
- text: text of image, default is size of image. ex: text=Your text
- text_angle: Angle of turned text, default is 0. ex: text_angle=90 prints vertical text
##TODO:
- Add named shortcuts. i.e. predefined settings for standard sized images