Compare commits

...

2 Commits

Author SHA1 Message Date
7355949c1e fix: ImageBlurUtil.kt
- 블러 radius 100 -> 160
2025-08-21 20:54:44 +09:00
539b9fb2b2 fix: 유저/관리자 캐릭터 이미지 리스트
- 불필요한 Response 제거
2025-08-21 20:52:39 +09:00
4 changed files with 1 additions and 9 deletions

View File

@@ -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 }
) )

View File

@@ -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
) )
} }

View File

@@ -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
) )

View File

@@ -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) 프리멀티 알파로 변환 (경계 품질↑)