Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

99
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!