') ') Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $10.00
Net Balance: $9.41
Left to go: $90.59

Donations
Dante7237  ($10)Dec-3

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 3.0 4 6 2013 Abuse Android AntiHarvesting AntiMalUser AntiSpam API Apple Battlefield Blocks Bootstrap By Captcha cell chronolabs Clicks content CĂN demo docek download Dresses evden eve facebook Fat Food for free Gateway giải Google Guide herre Home Honeypot Human HỘ IP iPhone jQuery Law Legal List Loss mobile module modules Monster new newbb news nhiệt NHÀ online PARK Payment phone PHP Prevention profile project Protector publisher Rapid release RESIDENCE responsive review Rights rmcommon security Sentry Signed site Smartphone Smoking Solution Spam Studio tags tdmcreate The Theme themes web weight Wishcraft xoops Xortify XPayment

New Users

Registering user

# 137911

mydarkglobe

Welcome to XOOPS!

Archives

News Archives

New Frameworks: WideImage_for_xoops

Posted by black_beard on 2013/2/24 14:40:00 (2456 reads) | Posted on Modules
Here is a Frameworks for managing images. Frameworks that is based on PHP class WIDEimage and has been optimized for Xoops.

Version: 1.01

Minimum requirements

  • PHP 5.2 or 5.3

  • GD2 library


Features



  • Loading Images

  • Save images

  • Adds noise to the image

  • Allocate a color by RGB values

  • Applies convolution matrix

  • Applies a filter

  • grayscale copy of the image

  • a negative of the image

  • Performs an auto-crop on the image

  • Corrects gamma on the image

  • Returns a cropped rectangular portion of the image

  • flipped (mirrored over horizontal line) copy of the image

  • Retrieve an image with selected channels

  • A method lays the overlay (watermark) on the image

  • Returns a mirrored copy of the image

  • Resize the image to given dimensions.

  • Resizes the canvas of the image

  • Rotate the image

  • Returns an image with round corners



Documentation

You can find a documentation for developpers here in french and english.

Download

You can download here


Printer Friendly Page Send this Story to a Friend Create a PDF from the article
Bookmark Me
Bookmark to Google Plus
The comments are owned by the author. We aren't responsible for their content.

Looks like a nice framework to enhance handling images by the core and a module. Automatically cropping of thumbnails for instance can prevent all those different user avatar sizes. I also dislike the current extgallery blocks, showing pictures of all orientations and sizes which shows messy when together in one block.

Good work black_beard!
Published: 2013/2/25 11:32 • Updated: 2013/2/25 11:32
You could not make the mini-module showing work of the manager of images?
Published: 2013/2/25 13:01 • Updated: 2013/2/25 13:01
Resizing can be done now but what I mean is cropping pictures, making all pictures exactly the same width and height, by cutting some parts of the original picture ( can be done automatically or by user, by giving him/her a frame to move over the picture to choose the right composition).

My photoblog (not xoops but Pixelpost btw) does exactly what I mean with thumbnails!
Published: 2013/2/25 14:36 • Updated: 2013/2/25 14:38