javascript - Sticker Book style app to svg -
i have div relative position , several pngs in absolute position , different width/height + rotate values. need generate svg without using plugin. sticker book kids.
update:
i able make php script generate image. here's new problem:
source container width: 700, height: ratio based. final container width: 1200, height: ratio based.
icon 1 source: width=150px, height=80px, left=30px, top=40px icon 2 source: width=100px, height=100px, left=90px, top=20px ...and on. 6-7 stickers @ 1 time above config.
all above details sent php script generate image. need calculate scaling of icons in final container using data above. not width , height x , y position final image looks source bigger version.
appreciate of help/comments.
Comments
Post a Comment