question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

background-color was changed !!!

See original GitHub issue

original-img: http://img.alicdn.com/imgextra/i2/2208557321139/O1CN010mpNHj1KHhkOx2d6C_!!2208557321139.jpg

new-img: http://t00img.yangkeduo.com/openapi/images/2020-10-23/795a65accba9cfd8e318674e23ec5592.jpg

the backgroud-color was changed into red ! why ? how to avoid it

     Thumbnails.of(new ByteArrayInputStream(content))
                .forceSize(width , height)
                .outputFormat("JPG")
                .outputQuality(1f)
                .toOutputStream(byteArrayOutputStream);

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bby0commented, Nov 10, 2020

excuse me,There is no solution,I use all TwelveMonkeys jar in the maven @coobird

1reaction
coobirdcommented, Oct 27, 2020

@szd1993, this particular case seems to be a problem with the JPEG reader that comes with Java.

You could try using the TwelveMonkeys ImageIO library which was able to properly read the JPEG image you posted. Basically, it’s as simple as adding a Maven dependency to your project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change your desktop background color - Microsoft Support
Change your desktop background color ... Select Start > Settings > Personalization > Colors, and then choose your own color, or let Windows...
Read more >
How to Add & Change Background Color in HTML
Learn how to add background color to your web pages or elements on the page with HTML and CSS.
Read more >
Can't change List background color in iOS 16 - Apple Developer
I can't seem to find a way to change List's background color. Modifier .background() has no effect on List background color. Putting List...
Read more >
How to change in javascript background color from css
The css is working, it is making the background pink, but the javascript isn't changing the css background color to brown. javascript ·...
Read more >
CSS Background Color – How to Change ... - freeCodeCamp
Note: if you give a background-color to an element and don't see it change, it can be a syntax error, or it can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found