Compare commits
2 Commits
99386c6d53
...
7355949c1e
Author | SHA1 | Date | |
---|---|---|---|
7355949c1e | |||
539b9fb2b2 |
@@ -29,9 +29,6 @@ data class AdminCharacterImageResponse(
|
|||||||
val characterId: Long,
|
val characterId: Long,
|
||||||
val imagePriceCan: Long,
|
val imagePriceCan: Long,
|
||||||
val messagePriceCan: Long,
|
val messagePriceCan: Long,
|
||||||
val isAdult: Boolean,
|
|
||||||
val sortOrder: Int,
|
|
||||||
val active: Boolean,
|
|
||||||
val imageUrl: String,
|
val imageUrl: String,
|
||||||
val triggers: List<String>
|
val triggers: List<String>
|
||||||
) {
|
) {
|
||||||
@@ -46,9 +43,6 @@ data class AdminCharacterImageResponse(
|
|||||||
characterId = entity.chatCharacter.id!!,
|
characterId = entity.chatCharacter.id!!,
|
||||||
imagePriceCan = entity.imagePriceCan,
|
imagePriceCan = entity.imagePriceCan,
|
||||||
messagePriceCan = entity.messagePriceCan,
|
messagePriceCan = entity.messagePriceCan,
|
||||||
isAdult = entity.isAdult,
|
|
||||||
sortOrder = entity.sortOrder,
|
|
||||||
active = entity.isActive,
|
|
||||||
imageUrl = url,
|
imageUrl = url,
|
||||||
triggers = entity.triggerMappings.map { it.tag.word }
|
triggers = entity.triggerMappings.map { it.tag.word }
|
||||||
)
|
)
|
||||||
|
@@ -55,7 +55,6 @@ class CharacterImageController(
|
|||||||
imageUrl = url,
|
imageUrl = url,
|
||||||
isOwned = isOwned,
|
isOwned = isOwned,
|
||||||
imagePriceCan = img.imagePriceCan,
|
imagePriceCan = img.imagePriceCan,
|
||||||
isAdult = img.isAdult,
|
|
||||||
sortOrder = img.sortOrder
|
sortOrder = img.sortOrder
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@@ -7,7 +7,6 @@ data class CharacterImageListItemResponse(
|
|||||||
@JsonProperty("imageUrl") val imageUrl: String,
|
@JsonProperty("imageUrl") val imageUrl: String,
|
||||||
@JsonProperty("isOwned") val isOwned: Boolean,
|
@JsonProperty("isOwned") val isOwned: Boolean,
|
||||||
@JsonProperty("imagePriceCan") val imagePriceCan: Long,
|
@JsonProperty("imagePriceCan") val imagePriceCan: Long,
|
||||||
@JsonProperty("isAdult") val isAdult: Boolean,
|
|
||||||
@JsonProperty("sortOrder") val sortOrder: Int
|
@JsonProperty("sortOrder") val sortOrder: Int
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@ object ImageBlurUtil {
|
|||||||
* @param parallel true면 행/열 패스를 병렬 실행(ForkJoinPool). 멀티코어에서만 유효.
|
* @param parallel true면 행/열 패스를 병렬 실행(ForkJoinPool). 멀티코어에서만 유효.
|
||||||
* @return 블러된 새 이미지 (TYPE_INT_ARGB)
|
* @return 블러된 새 이미지 (TYPE_INT_ARGB)
|
||||||
*/
|
*/
|
||||||
fun blurFast(src: BufferedImage, radius: Int = 100, parallel: Boolean = true): BufferedImage {
|
fun blurFast(src: BufferedImage, radius: Int = 160, parallel: Boolean = true): BufferedImage {
|
||||||
require(radius > 0) { "radius must be > 0" }
|
require(radius > 0) { "radius must be > 0" }
|
||||||
|
|
||||||
// 1) 프리멀티 알파로 변환 (경계 품질↑)
|
// 1) 프리멀티 알파로 변환 (경계 품질↑)
|
||||||
|
Reference in New Issue
Block a user