What is Picture to People ?

"Picture to People" (P2P) is a huge Computer Graphics project. It was started to create new softwares able to make 2D drawing, 3D rendering, vexel drawing, text effects, photo effects, image filtering and other complex Computer Graphics operations. It has been made from scratch, including its low level Computer Graphics libraries like Maccala. Nowadays, most final features produced for this project are released as free online tools available from its official website. This blog talks about Computer Graphics, mainly concerning Picture to People development.

"Only who makes has true knowledge. Knowledge is control. True power depends on total control. Only who makes from scratch has the real power."

Sunday, November 3, 2013

New Picture to People image upload policy

Recently we have improved the image upload policy for most of Picture to People effects. Below I explain the changes in details.

First of all, file size will not be a problem anymore. Now the input files can be up to 1 MB in size, what is five times bigger than the previous limit of 200 KB.

Second, but not less important, most P2P photo effects now deal with images in a different way. Previously, if the image had any dimension above a limit value (usually 1200 pixels), the request was refused.

Now our softwares are more versatile when evaluating if an image is suitable to be used as input. If the image size doesn't match our upload policy, it's reduced and so the effect is calculated (there is no more abortion caused by image size in pixels).

Currently, the four possible steps to decide what to make when a photo effect request is received are like below for most P2P tools:

1) Inspect the file coming from the request. If it is up to 1 MB in size, proceed. If it's bigger, reject the request and warn the user;

2) Evaluate the image total size in pixels. If the image has up to 1,000,000 (1 million) pixels, accept it "like is", no matter what its dimensions are, so calculate the effect. This rule turns eligible, for example, an image that has dimensions of 1800 x 500;

3) If the image has more than 1 million pixels, evaluate its dimensions. If both image dimensions (width and height) are up to 1200 pixels, accept the image "like is" and calculate the effect.

4) If the image has any dimension (width or height) bigger than 1200 pixels, reduce the image proportionally, so its bigger dimension becomes 1200 and the smaller reduces accordingly. Calculate the effect using this reduced image as input. Return the result image to the user, no matter it's smaller than the original one.

There are some P2P softwares that use different limits and make bigger image reductions, but they are few.

Now that our image input policy makes more sense, we hope you enjoy even more by using Picture to People project.

 Subscribe in a reader

No comments: