Skip to content

fix: change default value of preview_max_dimensions to 6016x6016#41263

Merged
DeepDiver1975 merged 1 commit intomasterfrom
fix/preview_max_dimensions
Jun 10, 2024
Merged

fix: change default value of preview_max_dimensions to 6016x6016#41263
DeepDiver1975 merged 1 commit intomasterfrom
fix/preview_max_dimensions

Conversation

@DeepDiver1975
Copy link
Copy Markdown
Member

Description

Related Issue

  • Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:
  • Changelog item, see TEMPLATE

@update-docs

This comment was marked as resolved.

Copy link
Copy Markdown
Contributor

@jnweiger jnweiger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@phil-davis
Copy link
Copy Markdown
Contributor

Changelog?

I guess there should be something, because there has been a bit of discussion about this stuff. So it would be nice if the changelog at each release point shows clearly what the default setting is at each release.

@DeepDiver1975
Copy link
Copy Markdown
Member Author

DeepDiver1975 commented Jun 10, 2024

There is an existing changelog item which I will update already released ....

will add changelog item

@DeepDiver1975 DeepDiver1975 force-pushed the fix/preview_max_dimensions branch from 7e844eb to f545470 Compare June 10, 2024 12:05
@sonarqubecloud
Copy link
Copy Markdown

@DeepDiver1975 DeepDiver1975 merged commit 3baaf71 into master Jun 10, 2024
@jnweiger
Copy link
Copy Markdown
Contributor

Related #41193

@DeepDiver1975 DeepDiver1975 deleted the fix/preview_max_dimensions branch June 11, 2024 11:20
private function getMaxDimensions(): array {
// 24 MP - 6016 x 4000
$maxDimension = \OC::$server->getConfig()->getSystemValue('preview_max_dimensions', '6016x4000');
// 24 MP - 6016 x 6016
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it not be 36 MP? But since it is just a comment, maybe not that relevant..

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

24 mega pixel is 6k x 4k - allowing it in portrait and landscape mode results in 6k x 6k

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is okay this way ..... or is more explanation required here?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, that is fine..thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants