Skip to content

The Transform screen : Redimensioning books

RobbWatershed edited this page Sep 23, 2023 · 5 revisions

What does the Transform screen do?

The Transform screen can be used for two different purposes :

  • Resizing : Changing dimensions of all pictures of a given book
  • Transcoding : Changing the encoding of all pictures of a given book

You can perform either of them, or even both at once.

How to resize pictures?

  1. Turn the "Resize pictures" switch on
  2. Choose the resizing method
Method Description
Max X% of screen dimensions Downscale each picture so that its width (or height) is X% of your device's screen width (or height)
Absolute max dimensions Mangas : Downscale each picture so that its height is the specified value.
Manhwas/webtoons : Downscale each picture so that its width is the specified value
NB : A picture is considered to be a manhwa/webtoon when its height/width ratio is > 3
% of original image size Downscale each picture to a given % of its original dimensions.
AI upscale 2x Upscale each picture by a 2x factor using the Real-CUGAN AI model. Processing will use your GPU intensively and may take a few minutes.

All of these methods preserve the width/height ratio.

  1. See how your settings apply to the current book's images by taking a look at the preview
  2. Hit the "Transform" button

How to transcode pictures?

  1. Choose which method to use
Method Description
Use the same encoder for all pictures Transcode all pictures using the same encoder
Differentiate lossless and lossy pictures Transcode lossless pictures with a lossless encoder, and lossy pictures with a lossy encoder
  1. Choose which encoder to use
  2. If you chose a lossy encoder, set its quality
  3. See how your settings apply to the current book's images by taking a look at the preview
  4. Hit the "Transform" button

FAQ

Can animated pictures be transformed?

Animated pictures aren't supported yet - see https://github.com/avluis/Hentoid/issues/1069

Why isn't my favourite encoder available?

Transform started by using the encoders available out of the box on Android : JPEG, PNG and WEBP.

If you need another encoder, you're welcome to open a GitHub issue and give us the link to a library to integrate to the app.