Giter Site home page Giter Site logo

Comments (8)

www-abcd avatar www-abcd commented on July 27, 2024

Sybioб, can you help me?

from imageworkshop.

Sybio avatar Sybio commented on July 27, 2024

Hi @www-abcd I don't know about datalife engine, and I found that the doc' is written in Russian that I can't read. You should find some help from the datalife engine community, just know that ImageWorkshop is a simple PHP library you should find how to add external library in this CMS ^^

from imageworkshop.

www-abcd avatar www-abcd commented on July 27, 2024

Thank you Sybio. I did it.
There is another problem.
Watermark not working for all gif animation. (I think the pictures with more frame). and show this error.
for example this photo:
http://d24w6bsrhbeh9d.cloudfront.net/photo/ajrgpGp_460sa.gif
and show the error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 296849 bytes) in D:\OpenServer\open_server_4_8_8\domains\gif\src\PHPImageWorkshop\Core\ImageWorkshopLib.php on line 121

How to fix this error?

from imageworkshop.

Sybio avatar Sybio commented on July 27, 2024

Your welcome @www-abcd.

This error appears because your script is trying to use more RAM than authorized by your PHP configuration. In fact GD library uses a lot of RAM to manipulate images and in your case it's too much... Here how to fix it : #21 (comment)

from imageworkshop.

www-abcd avatar www-abcd commented on July 27, 2024

Thank you Sybio.
Sorry for many questions. It is the great app and I would like to use it.
When created gif photo with watermark (from the pictures with more frame), Some colors are spread.
Please see this link:
http://postimg.org/image/40vq4shgf/

from imageworkshop.

Sybio avatar Sybio commented on July 27, 2024

Indeed... Can you give me your original GIF image ?

Sometimes there is a bug like that because a frame can be partially transparent, and you need to paste all frames on previous one to have the background. I will try something with your GIF ^^

from imageworkshop.

www-abcd avatar www-abcd commented on July 27, 2024

Original GIF image:
http://d24w6bsrhbeh9d.cloudfront.net/photo/aAYG2wp_460sa.gif

from imageworkshop.

dlestarter avatar dlestarter commented on July 27, 2024

sorry I know it's late comment about the issue...Datalife engine has stop gif animation supports since DLE 9.7 (security patch) and completely removed in DLE 9.8, also watermark will not work with gif because algorithm can't be supported in embed watermark..so there is nothing wrong with this script, but the problem is in datalife engine limitation.

from imageworkshop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.