Angular merge 2 images into one and convert back to File format

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

ความคิดเห็น • 5

  • @bogdangeiko4696
    @bogdangeiko4696 3 ปีที่แล้ว

    The best english speaker on youtube!

  • @jefvar
    @jefvar 4 ปีที่แล้ว +2

    Thank you, I was looking for something like this. I have a question, how I can save the new generated image as a file?

    • @OlehBiblyi
      @OlehBiblyi  4 ปีที่แล้ว +2

      Hello, I am glad you like it. You can do right click on image and choose save as..., or if you want to create download file function just search in youtube "Convert HTML5 Canvas to Image" - first video should be ok. In this video I converted new file back to File format because this is what you can send to server, when you do images uploads.

  • @yograpradipta2007
    @yograpradipta2007 3 ปีที่แล้ว

    i found error like "Cannot read property 'nativeElement' from undefined"?, whereas my code is same like this video

    • @OlehBiblyi
      @OlehBiblyi  3 ปีที่แล้ว

      Hello, maybe you are using newer Angular version and there is something different. You can try project from my github.