Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

100
Visualizações
Upload changes transparent PNG image background to black

I want to upload a PNG image and save it to the API and use the saved image to display on a different application by pulling it from the server.

This works as expected but, whenever I upload an image with a transparent background the transparent background is changing to a black background.

How can I retain the transparent background and not make any changes to the image?

Images:

  • upload and preview: On Upload
  • save and download: after saving and downloading image

https://stackblitz.com/edit/angular-ivy-ufz65n?file=src%2Fapp%2Fapp.component.ts

Facing the below issues:

  1. transparent background changing to black
  2. on save and retrieve the image dimensions are getting altered
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda