If you have the image in a storage server then use pilow ( library to 
images editing ) apply the effects and store again in storage server.

Here is a example to rotate a image 
http://matthiaseisen.com/pp/patterns/p0201/ .

You apply this algorithm in image ( or in many ) then use save method to 
overwrite old image..

Em quinta-feira, 22 de dezembro de 2016 14:52:17 UTC-3, Áureo Dias Neto 
escreveu:
>
> I have the images stored on database, i want to rotate this, and overwrite 
> the phisycal file.. 
>
> 2016-12-15 12:38 GMT-02:00 Marlysson Silva <[email protected] 
> <javascript:>>:
>
>> Use the pilow lib , before of the inserting in folder upload , make 
>> processing them and after push to server storage
>>
>> Or
>>
>> Save them normal and use css transform to rotate them ( whether it will 
>> only show in front-end )
>>
>> Em quinta-feira, 15 de dezembro de 2016 11:00:35 UTC-3, Áureo Dias Neto 
>> escreveu:
>>
>>> Good morning, young people!
>>>
>>> I need a function, that I can rotate a photo saved in the database, that 
>>> is, previously sent. And the same apples to be rotated, replace the current 
>>> one in the database/ file
>>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to