Skip to content

Commit

Permalink
Add deprecated image methods
Browse files Browse the repository at this point in the history
  • Loading branch information
JD557 committed Aug 18, 2022
1 parent 9db0240 commit 0f48c7a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package eu.joaocosta.minart.graphics.image

import eu.joaocosta.minart.graphics.image.helpers._

@deprecated("Use eu.joaocosta.minart.graphics.image.bmp.BmpImageFormat instead")
final class BmpImageLoader[F[_]](val byteReader: ByteReader[F]) extends bmp.BmpImageLoader[F]

object BmpImageLoader {
@deprecated("Use eu.joaocosta.minart.graphics.image.bmp.BmpImageFormat.defaultFormat instead")
val defaultLoader = bmp.BmpImageFormat.defaultFormat
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package eu.joaocosta.minart.graphics.image

import eu.joaocosta.minart.graphics.image.helpers._

@deprecated("Use eu.joaocosta.minart.graphics.image.ppm.PpmImageFormat instead")
final class PpmImageLoader[F[_]](val byteReader: ByteReader[F]) extends ppm.PpmImageLoader[F]

object PpmImageLoader {
@deprecated("Use eu.joaocosta.minart.graphics.image.ppm.PpmImageFormat.defaultFormat instead")
val defaultLoader = ppm.PpmImageFormat.defaultFormat
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package eu.joaocosta.minart.graphics.image

import eu.joaocosta.minart.graphics.image.helpers._

@deprecated("Use eu.joaocosta.minart.graphics.image.qoi.QoiImageFormat instead")
final class QoiImageLoader[F[_]](val byteReader: ByteReader[F]) extends qoi.QoiImageLoader[F]

object QoiImageLoader {
@deprecated("Use eu.joaocosta.minart.graphics.image.qoi.QoiImageFormat.defaultFormat instead")
val defaultLoader = qoi.QoiImageFormat.defaultFormat
}

0 comments on commit 0f48c7a

Please sign in to comment.