6eab7fc47402f1ce34ed331ae80f5bcbee54da82 braney Thu Dec 16 13:30:33 2010 -0800 remove USE_PNG and GIF support #1323 diff --git src/hg/lib/hgExp.c src/hg/lib/hgExp.c index 8ce6a06..7c1ba60 100644 --- src/hg/lib/hgExp.c +++ src/hg/lib/hgExp.c @@ -102,37 +102,32 @@ char *url, int representativeCount, int *representatives, char *expTable, int gifStart) /* Print out labels of various experiments. */ { int i; int groupSize; char gifName[128]; char **experiments = hgExpGetNames(database, expTable, representativeCount, representatives, skipName); int height = gifLabelMaxWidth(experiments, representativeCount); for (i=0; i<representativeCount; i += groupSize+1) { printf("<TD VALIGN='BOTTOM' WIDTH=%d>", expSubcellWidth); groupSize = countNonNull(experiments+i, representativeCount-i); -#ifdef USE_PNG safef(gifName, sizeof(gifName), "../trash/nea_%s_%s%d.png", colName, subName, ++gifStart); -#else - safef(gifName, sizeof(gifName), "../trash/nea_%s_%s%d.gif", - colName, subName, ++gifStart); -#endif gifLabelVerticalText(gifName, experiments+i, groupSize, height); if (url != NULL) printf("<A HREF=\"%s\">", url); printf("<IMG BORDER=0 SRC=\"%s\">", gifName); if (url != NULL) printf("</A>"); printf("</TD>"); } /* Clean up */ for (i=0; i<representativeCount; ++i) freeMem(experiments[i]); freeMem(experiments); }