Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

92
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda