nerdexam
CIW

1D0-520 · Question #121

Brent wants to use the same image on each page of his site, but wants to have a different color in a part of that image from one page to the next. Using an image software editor, he decides to…

The correct answer is C. PNG. See the full explanation below for the reasoning.

Question

Brent wants to use the same image on each page of his site, but wants to have a different color in a part of that image from one page to the next. Using an image software editor, he decides to create a master layered image with the changes on their own layer. Which file format would allow Brent to accomplish this task?

Options

  • AGIF
  • BJPG
  • CPNG
  • DBMP

How the community answered

(27 responses)
  • A
    4% (1)
  • B
    11% (3)
  • C
    81% (22)
  • D
    4% (1)

Community Discussion

5
Lena V.Lena V.Feb 3, 2026

PNG supports transparency and lossless compression, but the key here is that it can preserve layer data when saved from editors like Photoshop in formats that use PNG as a base. Wait, let me be precise for the exam: the answer is C, PNG, because PNG supports lossless editing and transparency, making it the best of the listed options for working with layered images where you need to swap out color elements without degradation. GIF is limited to 256 colors, JPG is lossy and flattens layers, and BMP has no layer support and is uncompressed, so PNG is the only practical choice for Brent's workflow.

15
Mateus R.Mateus R.Jan 31, 2026

PNG supports transparency and, crucially, lossless compression, which means it can preserve layer information when saved from editors like Photoshop (as a layered PNG), whereas formats like JPG flatten everything and throw away data permanently the moment you hit save. Do you know why GIF was tempting here, since it also handles transparency, and what about GIF makes it fall short when you need to swap out colors cleanly across multiple layered versions of the same image?

5
Lena V.Lena V.Feb 2, 2026

GIF's 256-color palette cap is the real killer for clean color swaps, because the moment your layered versions share similar hues, the indexed palette starts aliasing edges and you get fringe artifacts that make automated color replacement unpredictable in ways PNG's full RGB channel never will.

0
Samuel O.Samuel O.Jan 28, 2026

PNG supports layers in its extended form but the real reason this is the right answer here is that PNG uses lossless compression, which means every time you open, edit, and save that file the pixel data stays intact. That matters a lot when you are swapping out a color layer and re-exporting repeatedly across a dozen pages. The one thing that always trips people up is GIF, because GIF does support transparency and it has been around forever, so people assume it is more flexible than it actually is. GIF is limited to 256 colors and has no real layer structure in the way an image editor like Photoshop or GIMP would recognize, so it falls apart the moment you are trying to manage a multi-layer master file. JPG is out immediately because it is lossy and destructive on every save, and BMP has no compression story worth mentioning in a production workflow. PNG is the answer, C.

1
Viktor S.Viktor S.Jan 21, 2026

PNG supports transparency and layers, unlike JPG or GIF.

0
Full 1D0-520 Practice