sylikc / jpegview

Fork of JPEGView by David Kleiner - fast and highly configurable viewer/editor for JPEG, BMP, PNG, WEBP, TGA, GIF and TIFF images with a minimal GUI. Basic on-the-fly image processing is provided - allowing adjusting typical parameters as sharpness, color balance, rotation, perspective, contrast and local under-/overexposure.
Other
2.22k stars 128 forks source link

psd: properly skip image resource names #308

Closed qbnu closed 5 months ago

qbnu commented 6 months ago

The current way we skip image resource names is wrong, idk what I was thinking when I wrote it. Most PSDs don't store the names (they just use 00 00 as the string), which is why I didn't notice this before.

https://stackoverflow.com/questions/28519732/what-is-a-pascal-style-string

sylikc commented 5 months ago

Oh... Pascal strings... I had no idea there were other string strategies -_-