Skip to content

Setting Background Color of Image not working #709

@johnxy84

Description

@johnxy84

Expected Behavior

Color the Image Background to specified color

Current Behavior

Image Background doesn't change color

Failure Information (for bugs)

No Error

Steps to Reproduce

  1. Read Image
  2. Set Background color
  3. Write to File
        return Jimp.read('app/background.png')
        .then(image => {
            image.background(0x0012faff);
        })
        .then(image => {
            return image.writeAsync(`app/new-${(new Date()/1000)}.png`);
        })

Context

  • Jimp Version: 0.6.0
  • Operating System: Mac Mojave
  • Node version: 7.0.0

Failure Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingneeds a major releasebugthere is a bug in the way jimp behaveshelp wanted

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions