Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
cfld-region-outline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cfld-backend
cfld-region-outline
Commits
18308d0f
Commit
18308d0f
authored
Jan 05, 2024
by
yaobaizheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片过大进行二次压缩
parent
6b477fb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PicUtils.java
src/main/java/com/lyy/admin/common/utils/hwobs/PicUtils.java
+3
-3
No files found.
src/main/java/com/lyy/admin/common/utils/hwobs/PicUtils.java
View file @
18308d0f
...
@@ -84,10 +84,10 @@ public class PicUtils {
...
@@ -84,10 +84,10 @@ public class PicUtils {
if
(
size
>=
800
&&
size
<
1024
)
{
if
(
size
>=
800
&&
size
<
1024
)
{
accuracy
=
0.6
;
accuracy
=
0.6
;
}
}
if
(
size
>=
1024
&&
size
<
2048
)
{
if
(
size
>=
1024
&&
size
<
1500
)
{
accuracy
=
0.
3
;
accuracy
=
0.
2
;
}
}
if
(
size
>=
2048
)
{
if
(
size
>=
1500
)
{
accuracy
=
0.1
;
accuracy
=
0.1
;
}
}
return
accuracy
;
return
accuracy
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment