The R Project SVN R

Rev

Rev 55677 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 55677 Rev 55709
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 1999-2010  Guido Masarotto and the R Development Core Team
3
 *  Copyright (C) 1999-2011  Guido Masarotto and the R Development Core Team
4
 *
4
 *
5
 *  This program is free software; you can redistribute it and/or modify
5
 *  This program is free software; you can redistribute it and/or modify
6
 *  it under the terms of the GNU General Public License as published by
6
 *  it under the terms of the GNU General Public License as published by
7
 *  the Free Software Foundation; either version 2 of the License, or
7
 *  the Free Software Foundation; either version 2 of the License, or
8
 *  (at your option) any later version.
8
 *  (at your option) any later version.
Line 170... Line 170...
170
		    ncols ++;
170
		    ncols ++;
171
		}
171
		}
172
	    }
172
	    }
173
	}
173
	}
174
    }
174
    }
175
 
-
 
-
 
175
    col = gp(d,0,0);
176
    have_alpha &= (transparent == 0);
176
    //have_alpha &= (transparent == 0);
177
 
177
 
178
    /* Set the image information here.  Width and height are up to 2^31,
178
    /* Set the image information here.  Width and height are up to 2^31,
179
     * bit_depth is one of 1, 2, 4, 8, or 16, but valid values also depend on
179
     * bit_depth is one of 1, 2, 4, 8, or 16, but valid values also depend on
180
     * the color_type selected. color_type is one of PNG_COLOR_TYPE_GRAY,
180
     * the color_type selected. color_type is one of PNG_COLOR_TYPE_GRAY,
181
     * PNG_COLOR_TYPE_GRAY_ALPHA, PNG_COLOR_TYPE_PALETTE, PNG_COLOR_TYPE_RGB,
181
     * PNG_COLOR_TYPE_GRAY_ALPHA, PNG_COLOR_TYPE_PALETTE, PNG_COLOR_TYPE_RGB,