Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F9583700
format-specific-options.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
321 B
Referenced Files
None
Subscribers
None
format-specific-options.ts
View Options
import
sharp
from
"sharp"
;
export
const
format_specific_options
=
(
<
const
>
{
avif
:
(
image
)
=>
image
.
avif
({
quality
:
80
}),
jpeg
:
(
image
)
=>
image
.
jpeg
({
mozjpeg
:
true
,
quality
:
90
}),
webp
:
(
image
)
=>
{
return
image
.
webp
({
quality
:
90
});
},
})
as
Record
<
string
,
((
image
:
sharp
.
Sharp
)
=>
sharp
.
Sharp
)
|
undefined
>
;
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Sat, Oct 11, 10:28 (17 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
983162
Default Alt Text
format-specific-options.ts (321 B)
Attached To
Mode
rRIMAGEROUTER koa-responsive-image-router
Attached
Detach File
Event Timeline
Log In to Comment