mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
LibGfx/ExifOrientedBitmap: Reorganize create
parameters
No behavior change.
This commit is contained in:
parent
09b2b3539b
commit
8229a19081
3 changed files with 3 additions and 3 deletions
|
@ -1719,7 +1719,7 @@ public:
|
|||
auto const height = m_channels[0].height();
|
||||
|
||||
auto const orientation = static_cast<TIFF::Orientation>(metadata.orientation);
|
||||
auto oriented_bitmap = TRY(ExifOrientedBitmap::create(BitmapFormat::BGRA8888, { width, height }, orientation));
|
||||
auto oriented_bitmap = TRY(ExifOrientedBitmap::create(orientation, { width, height }, BitmapFormat::BGRA8888));
|
||||
|
||||
auto const alpha_channel = metadata.alpha_channel();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue