mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +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
|
@ -243,7 +243,7 @@ private:
|
|||
auto const strip_byte_counts = *m_metadata.strip_byte_counts();
|
||||
auto const rows_per_strip = m_metadata.rows_per_strip().value_or(*m_metadata.image_height());
|
||||
|
||||
auto oriented_bitmap = TRY(ExifOrientedBitmap::create(BitmapFormat::BGRA8888, { *metadata().image_width(), *metadata().image_height() }, *metadata().orientation()));
|
||||
auto oriented_bitmap = TRY(ExifOrientedBitmap::create(*metadata().orientation(), { *metadata().image_width(), *metadata().image_height() }, BitmapFormat::BGRA8888));
|
||||
|
||||
for (u32 strip_index = 0; strip_index < strips_offset.size(); ++strip_index) {
|
||||
TRY(m_stream->seek(strips_offset[strip_index]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue