|
|
|
stretch
|
|||
|---|---|---|---|
|
#18+
всем доброго времени суток! Как изменить размер изображения со сглаживанием или как в imageах (со стрейч=true)? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.08.2008, 14:36 |
|
||
|
stretch
|
|||
|---|---|---|---|
|
#18+
StretchBlt() в режиме STRETCH_HALFTONE. Если нужна субпиксельная точность, можно задействовать GDI+. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.08.2008, 15:03 |
|
||
|
stretch
|
|||
|---|---|---|---|
|
#18+
да мне именно надо нужна субпиксельная точность с гаусовским размытием! может примерчик есть или исходник? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.08.2008, 15:26 |
|
||
|
stretch
|
|||
|---|---|---|---|
|
#18+
stretch, В GDI+ есть следующие режимы интерполяции: MSDN LibraryInterpolationModeInvalid Used internally InterpolationModeDefault Specifies the default interpolation mode. InterpolationModeLowQuality Specifies a low-quality mode. InterpolationModeHighQuality Specifies a high-quality mode. InterpolationModeBilinear Specifies bilinear interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 50 percent of its original size. InterpolationModeBicubic Specifies bicubic interpolation. No prefiltering is done. This mode is not suitable for shrinking an image below 25 percent of its original size. InterpolationModeNearestNeighbor Specifies nearest-neighbor interpolation. InterpolationModeHighQualityBilinear Specifies high-quality, bilinear interpolation. Prefiltering is performed to ensure high-quality shrinking. InterpolationModeHighQualityBicubic Specifies high-quality, bicubic interpolation. Prefiltering is performed to ensure high-quality shrinking. This mode produces the highest quality transformed images.Пример есть здесь . Про гауссовское... надо искать другие библиотеки. В AGG субпиксельная точность и есть гауссовский фильтр для изображения , но надо искать порт (flat API-шный или COM-овский) этой библиотеки для использования в VB-шных программах. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.08.2008, 17:28 |
|
||
|
stretch
|
|||
|---|---|---|---|
|
#18+
спасибо Бенедикт! без тебя бы не справился! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.08.2008, 10:36 |
|
||
|
stretch
|
|||
|---|---|---|---|
|
#18+
слушай Бенедикт ещё вопросик. превратить отоброжаемое изображение пикчербокса в его picture. пробовал так Picture1.Picture = Picture1.image получается пустота ??? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.08.2008, 12:45 |
|
||
|
|

start [/forum/topic.php?fid=60&msg=35491558&tid=2161955]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
54ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
37ms |
get tp. blocked users: |
1ms |
| others: | 243ms |
| total: | 376ms |

| 0 / 0 |
