Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » plugin/tga (Working with RasterEncoder)
plugin/tga [message #60224] Sun, 22 October 2023 14:22 Go to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 227
Registered: June 2011
Experienced Member
I'm working on a TGA plugin here:

https://github.com/BornTactical/tga

So far it lacks robust error handling so it will crash if a TGA is malformed and there are missing features but it seems to be working for a lot of TGAs.

I have more than a few questions though, mainly dealing with Run Length Encoding and RasterEncoder. Where is the appropriate place to compress a raster line for storage? Right now I'm putting it in WriteLineRaw, but I end up having to do casting and bpp checks. If anyone wants to go through the code and offer suggestions on how I could improve it I'm happy to learn.

[Updated on: Sun, 22 October 2023 14:24]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: Option Label on Left Side draw
Next Topic: Interfacing with Matplot++ and SVG display
Goto Forum:
  


Current Time: Sat Apr 26 01:18:38 CEST 2025

Total time taken to generate the page: 0.01018 seconds