Re: pixel values to text file array

From: Toby Thain (toby_at_telegraphics.com.au)
Date: 11/05/04


Date: 5 Nov 2004 14:39:06 -0800

jg.campbell@ntlworld.com (Jonathan G Campbell) wrote in message news:<5dbd4e4a.0411050516.149fdb50@posting.google.com>...
> CR Optiker <optiker_crb@hotmail.com> wrote in message news:<kv6zvzi0u052.1b58ztodzuvua.dlg@40tude.net>...
> > I have an 8-bit grayscale image and want to extract the pixel values to an
> > array, ...
> > Is there a fairly simple way to accomplish that with Photoshop?
> >
> Can Photoshop export to some text image format, e.g. PGM (ASCII version)?
> Then it would be a simple matter of using a text editor to insert
> appropriate delimeters.

I recently published free (GPL) Photoshop file format plugins for PBM,
PGM and PPM:
   http://www.telegraphics.com.au/sw/#netpbmformats
They read both raw binary and plain ASCII formats, but write only
binary. I considered adding plain format output as an option after
reading this post, but it looks like the problem can be solved with
other free plugins. If anyone else needs to write "Plain" Netpbm
please chime in.

--Toby

>
> Best regards,
>
> Jon C.



Relevant Pages

  • Re: Vista annoyance# 467684 (versus WindowsXP)
    ... This make plain text editor unworkable In Vista +WindowsMail ... throughly as the plain text format, sending pasted text in Rich Text ... Windows Mail settings. ...
    (microsoft.public.windows.vista.general)
  • Re: Free vs. pay software
    ... Two of the comparisons are of interest to those who do much printing: Microsoft Office vs. Openoffice.org 2.2 and Photoshop vs. ... I know Gimpshop is not as good as Photoshop but based on the cost difference I agree one should try GimpShop unless you need to interact with other Photoshop users or get various forms of PS support. ... One thing you should remember is that Gimpshop is a variation of the GIMP. ... I once tried to load an OpenOffice Calc file saved in Excel 97 format into MS Publisher 98, ...
    (comp.periphs.printers)
  • Re: Real Moon structure photographed by Zond 6 in 1968
    ... If you could give me some tips about how to use Photoshop ... Try converting the crop/extracted image of GIF format over to the JPEG ... Some years ago I read that Venus' ... I'll focus on crop 4 and I'll enlarge 5X and sharpen (if ...
    (sci.space.history)
  • Re: Read MW Word documents on a Mac
    ... puts one on a web site, or posts one to a newsgroup. ... to save in another format, and my Mac is Microsoft-free, what can I do? ... "You have sent me a text file as a Microsoft Word attachment which I ... plain text is also an open and free standard potentially rich ...
    (comp.sys.mac.apps)
  • Re: 6x4 photographs - Im so confused!!
    ... I use Photoshop Elements 3 and I too have a Canon dSLR with a 3:2 format ... To adjust the amount of "extension" (or overprint) with edge to ... slightly crop the image anyway when trying to do borderless printing. ...
    (rec.photo.digital)

Loading