javascript: document | dom ready
2019-05-11 2019-12-30 07:42:30

Javascript,jQuery,EN

jquery

// usage
$(document).ready(function() {

    console.log('ready');
});

native javascript | vanilla js

short

function ready(f){/in/.test(document.readyState)?setTimeout('domReady('+f+')',9):f()}

// usage
ready(function(){

    console.log('ready');
});

more complex


window.readyHandlers = [];
window.ready = function ready(handler) {window.readyHandlers.push(han […]

ImageMagick: convert pdf to image error
2019-04-29 2019-12-29 23:57:51

Linux,imagemagick,PDF,DE

Beim Versuch ein pdf zu einem png zu konvertieren mittels convert
kommt folgende Meldung (...not authorized ...no images defined):


admin1@erazer:~/Dokumente/Sport/Events/2019-04-27.Gipfelsturm_Osnabrueck$ convert 2019-04-27.Gipfelsturm_Osnabrueck_Urkunde.pdf 2019-04-27.Gipfelsturm_Osnabrueck_Urkunde.pdf.jpg
convert-im6.q16: not authorized `2019-04-27.Gipfelsturm_Osnabrueck_Urkunde.pdf' @ error/constitute.c/ReadImage/412.
convert-im6.q16: no ima […]

This website uses Cookies to provide you with the best possible service. Please see our Privacy Policy for more information. Click the check box below to accept cookies. Then confirm with a click on "Save".