At 7:43 pm -0300 28/01/03, Ricardo Montiel wrote:
Is good to know where friends are, and thanks for the clear explanation. It
also remind me that I need to take a look to IM QuickDraw volume. If not,
QuickDraw.pm seems to be almost useless.
IM is certainly essential reading, although QuickDraw i
in article [EMAIL PROTECTED], Jefferson R. Lowrey at
[EMAIL PROTECTED] wrote on 27/01/2003 18:33:
> It wasn't clear that your pictures were actually colored. The example I
> received was black and white, with no color distinctions between each 'piece'.
> Thus the desire to distinguish each piece
in article [EMAIL PROTECTED], Randy Boring at
[EMAIL PROTECTED] wrote on 27/01/2003 17:38:
>>> You asked about MacPerl, so we're assuming you're not doing this
>>> under OS X.
>>
>> Yes, your assumption is correct and the reason why I mentioned MacPerl (get
>> non ported modules out of question
in article p05100304ba5b56c2d86f@[158.152.146.73], Alan Fry at
[EMAIL PROTECTED] wrote on 27/01/2003 19:05:
> At 5:25 pm -0300 27/01/03, Ricardo Montiel wrote:
>> A code example of how to read the value of a pixel would be great -
>> basically is what I don't know how to code.
>
> Your friends he
At 5:25 pm -0300 27/01/03, Ricardo Montiel wrote:
A code example of how to read the value of a pixel would be great -
basically is what I don't know how to code.
Your friends here are located in QuickDraw.pm:
SetCPixel H, V, COLOR;
GetCPixel H, V;
COLOR is defined as:
$col = new RGBColor(R
> > This is the way I'd do it. Maybe it's not the best way, but it should work.
> > 1) Loop over each location of your image starting at the upper-right
> > 2) If the current section is uncolored, do a flood-fill with a new color
> > 3) write out the ascii number of the color at the current locati
in article [EMAIL PROTECTED], Detlef Lindenthal at
[EMAIL PROTECTED] wrote on 27/01/2003 02:09:
> Ricardo wrote:
>
>> ... Just to clear it up a bit more:
>
>> -- All lines are perpendicular.
>> -- Pictures are always closed ...
>
>
>
> Well, it seems that you have to do some picture recogni
>> You asked about MacPerl, so we're assuming you're not doing this
>> under OS X.
>
>Yes, your assumption is correct and the reason why I mentioned MacPerl (get
>non ported modules out of question) - This Mac it's an old PPC 8500/120
>under Mac OS 8.6. If needed, it can boot under Mac OS 9.1, bu
in article p05200f01ba59ab45da01@[192.168.136.25], Jeff Lowrey at
[EMAIL PROTECTED] wrote on 26/01/2003 12:27:
> At 5:54 PM -0300 1/25/03, Ricardo Montiel wrote:
>> Hi,
>>
>> I need to convert lots of diagrams as the enclosed file to ASCII characters.
>
>
>
> This is the way I'd do it. Maybe
Ricardo wrote:
> ... Just to clear it up a bit more:
> -- All lines are perpendicular.
> -- Pictures are always closed ...
Well, it seems that you have to do some picture recognition. Grrr.
Do those pictures fit into the same exact grid ("The areas where a
line could be are exact 20 pixels
At 5:54 PM -0300 1/25/03, Ricardo Montiel wrote:
Hi,
I need to convert lots of diagrams as the enclosed file to ASCII characters.
This is the way I'd do it. Maybe it's not the best way, but it should work.
1) Loop over each location of your image starting at the upper-right
2) If the current
in article p05111601ba58d4684ab9@[66.81.67.193], Bill Becker at
[EMAIL PROTECTED] wrote on 25/01/2003 20:56:
> Gosh, I haven't done homework in 30 years...
... in 40 years in my case.
Ciao,
Ricardo
in article p05100304ba58c1ed5303@[192.168.1.14], Doug McNutt at
[EMAIL PROTECTED] wrote on 25/01/2003 19:39:
> So you want to read a PICT file and convert it to coordinates with 8 bit
> precision?
Correct. As their origin are diverse, those files have different file
formats (JPG, GIF, PICT), but
Gosh, I haven't done homework in 30 years...
At 17:54 -0300 01/25/2003, Ricardo Montiel wrote:
Hi,
I need to convert lots of diagrams as the enclosed file to ASCII characters.
For instance, the enclosed file should be converted as:
01122230
04112230
04156230
04156630
04555630
04456630
So you want to read a PICT file and convert it to coordinates with 8 bit precision?
The problem sounds interesting but it's not yet defined. Is the PICT file limited to
draw line commands with endpoints?
At 17:54 -0300 1/25/03, Ricardo Montiel wrote:
>I need to convert lots of diagrams as the en
Hi,
I need to convert lots of diagrams as the enclosed file to ASCII characters.
For instance, the enclosed file should be converted as:
01122230
04112230
04156230
04156630
04555630
04456630
The example is one of the simplest diagrams. How can this be done using
MacPerl?
Thank
16 matches
Mail list logo