Search found 3 matches

by W3b3r
2019-04-23T08:54:14-07:00
Forum: Users
Topic: Parsing fabric json in ImageMagick
Replies: 5
Views: 3753

Re: Parsing fabric json in ImageMagick

left and top value is coordinates of the object inside a fabric js i need to trasform them into a coordinates for ImageMagick (Exclude originX and OriginY) "originX":"center","originY":"center","left":620,"top":398.5 Fabric Js calculate left and top value from the center of the image. if i want to ...
by W3b3r
2019-04-23T07:56:02-07:00
Forum: Users
Topic: Parsing fabric json in ImageMagick
Replies: 5
Views: 3753

Re: Parsing fabric json in ImageMagick

Hi snibgo, thanks for answer. I already render all image contained in the json but the result isn't good because the left and top value were wrong. Here is the result of the parse of json with ImageMagick -> https://prnt.sc/nftncl Here is the result of fabric script .toDataUrl(); -> https://prnt.sc ...
by W3b3r
2019-04-23T07:38:53-07:00
Forum: Users
Topic: Parsing fabric json in ImageMagick
Replies: 5
Views: 3753

Parsing fabric json in ImageMagick

Hi guys, i'm trying to regenerate image with ImageMagick from json generated by fabric js. For the render of images everything is ok but I have problems in the calculation of the left and top that is differtent for Imagemagick. I can provide my code if needed. Please Help, I'm losing my mind to try ...