Board 8 > I need coding help.

Topic List
Page List: 1
RX7InfinitiIII
02/22/12 9:27:00 AM
#1:


I know you guys are super techie, so let's get to it. Not homework, I promise.

I have a grayscale TIFF image that I want to work with pixel-by-pixel. I figured the easiest way would be to convert it to RGBA and just read it in 32 bits at a time, but I can't for the life of me find something to make this conversion. I know little to nothing about image formats so I don't really know where to look.

After that, I thought I'd try downloading an open-source library for a file format that I can convert to, but everything I try either won't compile or is way, way beyond what I need for features, to the point where it becomes so overcomplicated that I have no idea what's going on.

In the back of my mind, I also know that even after I work with the file, I'll be outputting it to a new file, but that will also just be RGBA... so I would have no way to convert it to a visible filetype. That's problematic, in a future-me-is-screwed sort of way.

Any ideas where I can go from here? I really just want to get to coding my actual program instead of messing around with this data storage s*** all day.


RX7
... Copied to Clipboard!
Phase
02/22/12 10:11:00 AM
#2:


Dunno what you're programming in but have you tried googling "reading in tiff files <language>"? To my understanding though, tiff is just a container, isn't the actual underlying format sometimes something else? I'm not an expert here.

--
assert(!hotterThan(foo, "Hot Nymphomaniacal Lesbian Mind-Controlling Dominatrix Fairy Doctors with glasses"))
... Copied to Clipboard!
Topic List
Page List: 1