JPG & PPM export broken - trees are black

Issue #387 resolved
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Export a JPG or PPM of a matrix with trees

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Open small_133x133.cdt
  2. Export using JPG format

CURRENT BEHAVIOR

The matrix looks fine but the trees and the area between the trees is solid black:

small_133x133.cdt.JPG

EXPECTED BEHAVIOR

These formats USED to work. In fact, they worked in older branches - I could swear they worked. I know I tried them. But I have marched back through the branches and they all export black now. I have no idea why. I'm tried it on my and on Lance's computer.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

unknown - if we can't get it to work, I'd say we should remove those options. The only thing I can think of has to do with the alpha channel, which JPG and PPM do not have. PNG exports fine and it has an alpha channel. I recall in the past needing to make a change to the alpha channel in order to get something with one of the formats to work.

FILES AFFECTED (where the changes will be implemented) - developers only

unknown

LEVEL OF EFFORT - developers only

medium

COMMENTS

Comments (3)

  1. Log in to comment