• Resolved Fachry Ali

    (@fbajri)


    Hello,

    First of all thank you for your plugin.

    I’ve tried to bulk png to jpg. But after waiting several minutes. It only done to some of my images. The rest is left with code “0” on “Has Transparancy” not NO/YES.

    What is that mean and how to fix it?

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author kubiq

    (@kubiq)

    Hi,

    your images are probably too big and your server has not enough resources to process them.

    What is the image resolution and image filesize for some of non-processed images?

    Thread Starter Fachry Ali

    (@fbajri)

    Thank you for the answer. It might be. But how much storage space I need to process this?

    For the example 1917 x 1005 pixels.

    Plugin Author kubiq

    (@kubiq)

    Storage is not important ( if it’s not full of course ),
    but what you need to process images is RAM and CPU.

    1917×1005 is normal size, nothing huge, but it depends what is the filesize – it can be 1MB or 20MB and that can be a problem.

    Sometimes there are corrupted images, like file with .png extension but in fact it’s not PNG… etc…

    Maybe you should put here that image URL, so I can take a look, or try to check your debug.log if you can see there some errors about memory.

    Thread Starter Fachry Ali

    (@fbajri)

    I see. Here’s one of them:

    https://fbajri.com/wp-content/uploads/2021/01/linktree-homepage.png

    I just set up debug.log and try to compress the PNG with ‘0’ but the debug.log not record anything.

    I hope I can know what the solution is. Thanks in advanced.

    PS: just to clear things out: when you try to save as image, it will automatically use .webp because of plugin, but you can just rename the extension to .png when you try to save it.

    • This reply was modified 3 years, 9 months ago by Fachry Ali.
    Plugin Author kubiq

    (@kubiq)

    But this one is working
    You can see it’s converted to WEBP, so I don’t understand what is the problem?
    https://img.kubiq.sk/2021-07-01_23-26-27.png
    On the bottom right you see it and as you wrote also when you download it, you can see it, so I can’t see any problem
    I also checked your web and everything is ok
    https://img.kubiq.sk/2021-07-01_23-29-13.png

    Thread Starter Fachry Ali

    (@fbajri)

    Hello,

    Thank you for your respond. Sorry if I misunderstood, but why if it’s working the plugins keep mark some images with ‘0’ but some of them is not on the list (already converted).

    Thank you

    Plugin Author kubiq

    (@kubiq)

    Oh man… Sorry ??
    I have another plugin called Images to Webp and I thought this is about Webp conversion

    0 means FALSE so NO
    1 means TRUE so YES
    There is probably some typo in my plugin so it’s showing 0 instead of NO, but that’s not important

    If image is still on the list, but it appears as converted on frontend, then there was some problem during conversion and it was not finished properly… maybe some timeout, or not enough resources/power or image was corrupted or many other possible reasons.

    Only thing you can do, is to let debug.log enabled and track problems there
    If your debug.log is inside wp-content folder, you should hide it, so you can create .htaccess in wp-content and put there this content

    RemoveHandler .log
    RemoveType .log
    
    <Files *.log>
    	order deny,allow
    	deny from all
    </Files>
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘What is 0 means on “Has Transparancy” ?’ is closed to new replies.