Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
Problems with RLE-8 encoded Bitmaps
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
how to tweek fpmake to co...
by
paule32
[
Today
at 08:23:49 am]
splitting an image
by
paule32
[
Today
at 08:20:33 am]
Why isn't TTIRadioGroup's...
by
egsuh
[
Today
at 08:09:35 am]
FpDebug questions
by
440bx
[
Today
at 03:43:41 am]
Lazarus for Windows on aa...
by
Wallaby
[April 23, 2024, 11:46:56 pm]
Parameter passing odditie...
by
KodeZwerg
[April 23, 2024, 11:04:39 pm]
Can function be used for ...
by
jamie
[April 23, 2024, 10:53:10 pm]
(Solved) TIndexedAVLTree ...
by
lainz
[April 23, 2024, 10:49:03 pm]
Demo Scene Picture sinwav...
by
KodeZwerg
[April 23, 2024, 10:26:21 pm]
fkInternalCalc
by
zraja
[April 23, 2024, 09:31:07 pm]
A fairly simple sound sol...
by
KodeZwerg
[April 23, 2024, 09:23:37 pm]
add new targets to make
by
marcov
[April 23, 2024, 08:38:42 pm]
Quirky windows
by
ASerge
[April 23, 2024, 07:07:16 pm]
[Request] Demo Scene Sub ...
by
Gigatron
[April 23, 2024, 06:29:39 pm]
Unlocking Files
by
KodeZwerg
[April 23, 2024, 06:03:08 pm]
[SOLVED] trunk bug for mi...
by
Key-Real
[April 23, 2024, 05:56:32 pm]
Demo Scene Bitmap Font Sc...
by
Gigatron
[April 23, 2024, 05:56:27 pm]
Compile/Convert Delphi pr...
by
Martin_fr
[April 23, 2024, 05:43:11 pm]
Generics - correct syntax
by
Thaddy
[April 23, 2024, 05:40:59 pm]
InstallAware Using Lazaru...
by
msintle
[April 23, 2024, 05:26:36 pm]
Xcode Command Line Tools ...
by
Joseph
[April 23, 2024, 05:16:39 pm]
Offical launch of the 1 B...
by
Hartmut
[April 23, 2024, 04:49:29 pm]
what to do if my target M...
by
nickysn
[April 23, 2024, 04:16:02 pm]
compiler error in unit
by
paule32
[April 23, 2024, 03:49:50 pm]
Multithreading - synchron...
by
mika
[April 23, 2024, 01:48:51 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problems with RLE-8 encoded Bitmaps (Read 9187 times)
Antrepolit
New member
Posts: 7
Problems with RLE-8 encoded Bitmaps
«
on:
September 29, 2006, 07:11:16 am »
Good morning,
it's me again.
Yesterday I got a problem until loading "some" bitmaps.
Lazarus showed me the message "RLE-8 encoded bitmaps are not supported".
Does anyone know if the RLE-8 compression be supported in future?
It would make me very happy
, because I now have to convert
200 RLE-8 bitmaps :cry:
Antrepolit
Logged
theo
Global Moderator
Hero Member
Posts: 1927
RE: Problems with RLE-8 encoded Bitmaps
«
Reply #1 on:
September 29, 2006, 10:15:22 am »
I don't know if Lazarus can't but FPImage should be able to read them. See fpreadbmp.pp.
Logged
Marc
Administrator
Hero Member
Posts: 2584
RE: Problems with RLE-8 encoded Bitmaps
«
Reply #2 on:
September 29, 2006, 11:33:58 am »
AFAIK laz is using fpimage
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
Antrepolit
New member
Posts: 7
Problems with RLE-8 encoded Bitmaps
«
Reply #3 on:
September 29, 2006, 02:19:28 pm »
Lazarus can't decode it.
Do you think, I should convert all bitmaps? The problem on it is, that
these bitmaps are in a Win32 - resource file. It means I have to export them, convert them and at least to to create a new Win32 - resource file.
Oh...
Logged
Vincent Snijders
Administrator
Hero Member
Posts: 2661
Problems with RLE-8 encoded Bitmaps
«
Reply #4 on:
September 29, 2006, 03:14:26 pm »
Marc, I think the problem is in TLazReaderBMP.InternalReadBody in the IntfGraphics unit.
I don't know what it should do to support RLE encoded bitmaps.
Logged
felipemdc
Administrator
Hero Member
Posts: 3538
Problems with RLE-8 encoded Bitmaps
«
Reply #5 on:
September 29, 2006, 03:24:01 pm »
Ummm, maybe you could create a script that call ImageMagick to automate this task.
www.imagemagick.org/
Or a pascal software that calls ImageMagick libraries.
The resource file shouldn't be hard to recreate if you make a .rc file for him, and compile that RC file using Windres GNU Tool that comes with lazarus
Logged
theo
Global Moderator
Hero Member
Posts: 1927
Problems with RLE-8 encoded Bitmaps
«
Reply #6 on:
September 29, 2006, 07:28:14 pm »
Umm, but I'm pretty sure fpreadbmp can read them.
It's stated: - Support for RLE4 and RLE8 decoding
So why not read them the FPImage way?
Afaik you can transform these to a Lazarus displayable format.
If not, you could at least save them uncompressed to stream/file and load from there instead of using ImageMagick.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Graphics
(Moderator:
Ask
) »
Problems with RLE-8 encoded Bitmaps
TinyPortal
© 2005-2018