01-19-2017, 11:22 PM
To compensate for the background gradient and get a 100% white background:
1) select a vertical strip over the whole height along one side of the packaging
2) copy to clipboard
3) Ad a layer on top and fill it with side by side copies of the strip. If your image is under 1000px high, this is quickly done: use the "clipboard" pattern and bucket fill the layer with the pattern. Otherwise you may have to manually copy (copy the copies: 1, 2, 4, 8, 16, 32...) or find a script
4) Set that filled layer to "Divide" mode. Your background will turn white everywhere. This can be enough if you just show this over a white web page.
Of course this processing blows up the whites in the original image. This can be corrected by deleting the "Divide" layer where you really want to keep the original picture: for instance make a feathered selection over the packaging and delete the matching contents in the "Divide" layer.
Also attached the XCF.
1) select a vertical strip over the whole height along one side of the packaging
2) copy to clipboard
3) Ad a layer on top and fill it with side by side copies of the strip. If your image is under 1000px high, this is quickly done: use the "clipboard" pattern and bucket fill the layer with the pattern. Otherwise you may have to manually copy (copy the copies: 1, 2, 4, 8, 16, 32...) or find a script
4) Set that filled layer to "Divide" mode. Your background will turn white everywhere. This can be enough if you just show this over a white web page.
Of course this processing blows up the whites in the original image. This can be corrected by deleting the "Divide" layer where you really want to keep the original picture: for instance make a feathered selection over the packaging and delete the matching contents in the "Divide" layer.
Also attached the XCF.