TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Extracting RAW pictures from memory dumps

43 点作者 2510c39011c5超过 10 年前

6 条评论

ljoshua超过 10 年前
Kind of OT, but does anyone know of decent resources for learning more about and eventually correcting RAW images?<p>I have a collection of RAW photos that have, due to bad transfers or old disks, become corrupted in ways where you can still see the original image, but color casts are off for half the image (strong purple or orange casts) or the image will suddenly jump and skip a few hundred pixels at random places. It seems like I am just missing a portion in the middle or something is misaligned, and I&#x27;d love to get these photos back. (I know that a JPG preview is hidden inside the file, which I could extract, but it would be nice to have the full image back as well.)
评论 #9120154 未加载
评论 #9120108 未加载
simscitizen超过 10 年前
We wrote a tool like this in my last job to guess the width of raw images like these. First, we were dealing with iOS, and there are certain constraints on the platform which help with guessing width (bitmaps are generally 32-bit BGRA, and the rows in iOS bitmap images are aligned to 32 bytes). Because of the alignment constraint you only have to guess the width in 8-pixel increments. Then pick the width that minimizes the average pixel difference between adjacent rows in the image. This usually guessed the width of the original image (or an integer multiple of the actual width), at least when the original image was a UI element (as UI elements generally have large rectangular blocks of color in them).
userbinator超过 10 年前
Also fun to try cat&#x27;ing a process&#x27; memory to &#x2F;dev&#x2F;audio. Works best if the process is a media player.
reacweb超过 10 年前
In the end of the eighties I needed to replace the fancy patterns available in spreadsheet graphics on PC1512 (gem) by more serious patterns (the client was a bank). I have done a small visualisation program in turbo pascal to find them and I have patched the binary.
spydum超过 10 年前
pretty wild, im used to running strings on process dumps and such.. never imagined opening an image editor to get something useful!
评论 #9118687 未加载
shironinja超过 10 年前
Just wanted to say I loved your off the cuff humor and thought it was an enjoyable article.