Project

General

Profile

Actions

Bug #2421

closed

viewstack.php sometimes does not show image number

Added by Anchi Cheng over 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Amber Herold
Category:
-
Target version:
Start date:
07/15/2013
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.0.0
Show in known bugs:
No
Workaround:

Description

This is especially true to projection class average stack. The class average shows a black rectangle while the projection shows the information properly.

Actions #1

Updated by Anchi Cheng over 11 years ago

  • Status changed from Assigned to In Code Review
  • Assignee changed from Anchi Cheng to Amber Herold

http://stackoverflow.com/questions/6580298/php-imagecolorallocate-returns-false explained that a color can not be allocated in gd without space in the color table.

r17746 uses imagecolorresolve instead of imagecolorallocate to solve the problem. In some cases this results in grey instead of puple background, but at least they now all show up.

Scott can test.

Actions #2

Updated by Amber Herold over 10 years ago

  • Status changed from In Code Review to Closed
Actions

Also available in: Atom PDF