liip / liip/LiipImagineBundle

Watermark-Filter does not support transparency?

Open
#808 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Support
Dominant language
PHP
Stars
1.7k
Forks
386
Avg merge
1d 10h
Merged PRs (30d)
3

Description

When using the watermark-filter, the watermark appears with a black background on the filtered image.
These are the filter settings im using:

```
liip_imagine:
driver: gd
resolvers:
default:
web_path:
web_root: ~

loaders:
default:
filesystem:
data_root: ~

filter_sets:
watermark_image:
filters:
watermark:
image: ../data/watermark_safe.png
# size of the water mark relative to the input image
size: 1
# set the position of the watermark
position: center
```

Am I doing something wrong?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names only the watermark filter configuration and watermark_safe.png; no repository file or test is identified. Start by reproducing the black background with the shown settings, then locate the watermark filter implementation and its transparency handling. Done means determining whether the configuration is valid and verifying correct transparent-watermark behavior with a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, symfony
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.