Saturday, July 11, 2015

Image Metadata Javascript

function getMeta(imageUrl){
  $('<img/>').attr('src', imageUrl).load(function(){
     s = {w:this.width, h:this.height};
     alert(s.w+' '+s.h);    
  });
}

No comments:

Post a Comment

Going one step further with Kotlin & gRPC

Recently, I tried using Quarkus with Kotlin for grpc. I have worked with grpc for communication between microservices in Java & Golang. ...