Problem How to convert 32BPP BMPs to "pltex" 24BPP?

Parnikkapore

New member
Joined
Apr 21, 2017
Messages
19
Reaction score
0
Points
0
I'm trying to use pltex, but it kept complaining about color depth on my 32BPP file and gerenated an empty file on a 8-bit file. What should I do?
 

Parnikkapore

New member
Joined
Apr 21, 2017
Messages
19
Reaction score
0
Points
0
Would this work?
Code:
convert BMP-32.bmp -alpha remove BMP-32-to-24.bmp //The command is part of ImageMagick
 

llarian

Well-known member
Joined
Apr 1, 2009
Messages
578
Reaction score
159
Points
58
Location
Ottawa
OK, better answer, especially if you do not want to get into the coding.

Most graphics programs will handle this for you. The particular method depends on the software you are using. You want to resample the image you are using to a lower colour depth. Irfanview will do this, so will GIMP.

As always, Google is your friend.
 

Parnikkapore

New member
Joined
Apr 21, 2017
Messages
19
Reaction score
0
Points
0
I googled up the command in #3 ;)

I also found a way to make GIMP render a 24bpp bmp, but I think I'll stick with ImageMagick.

---------- Post added at 19:45 ---------- Previous post was at 07:05 ----------

Almost there...
PLtex doesn't complain anymore but spits out an empty .tex file. The original image is 6144x3072. Does it still need powers of 2?

EDIT: 4096x2048 does not work! What is this? :hailprobe:
 
Last edited:
Top