понеделник, 16 март 2020 г.

convert: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/412.

Edit :
sudo nano /etc/ImageMagick-7/policy.xml
and just before </policymap>
add
 <policy domain="coder" rights="read | write" pattern="PDF" />
ctrl+o and enter and that's it. Now it works.

неделя, 8 март 2020 г.

How to make a gif from Huawei moving picture

I really like moving pictures. They are totally cool way to remember a fun moment and they are really easy to make. The big problem, however, is that they are a nightmare to share. Because they are recognised only by Huawei phones. Which is really a pity. It turned out it's pretty hard to export them to GIF-s as well. So here's what I found after all.
The only app which I've found so far to work with them is "Gif maker-editor". From it, you can choose "More->Motion photo-GIF" and turn your cool motion photo to a GIF. Of course, without the sound, which is also stupid, but whatever.
Then, if you want to edit your GIF (i.e. to remove a particularly ugly frame) you can do it from the app "GIF Maker- Gif Editor" (WTF with the names of those apps). From there, you select Edit->Manager and click on the - signs to remove a frame. Then you save it, and here you go a nice pretty GIF.
And with Motion Stills you can make normal GIFs. But they are not so fun as moving pictures :)