Ticket #189 (new defect)

Opened 9 years ago

GUI scales thumbnails (preview) to bad quality

Reported by: emmenlau Owned by: emmenlau
Priority: minor Milestone: XuvTools-1.8.1-final
Component: xuvtools_gui Version: 1.7.0
Keywords: thumbnail, preview, scale, scaling, quality Cc: developers@…

Description

When generating preview thumbnail, the preview is scaled in pixels during generation. The quality of this scaling can be rather poor. The corresponding code seems to be at project.cpp, line 947:

std::vector<blitz::Array<unsigned char, 2>*> Project::calculateThumbnail( std::string tile )
{
  ...
}

Better would be to always load thumbnails in the stacks native size, and scale the QImage to the scene size.

Note: See TracTickets for help on using tickets.