Tag

Resize

1 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Jun 4, 2024 · Fundamentals

Resizing Images with Python Pillow (PIL): A Step-by-Step Tutorial

This tutorial explains how to install the Pillow library, open an image file, resize it to desired dimensions, save the result, and encapsulate the process in a reusable Python function, providing complete code examples for practical image‑processing practice.

Code ExampleResizeTutorial
0 likes · 5 min read
Resizing Images with Python Pillow (PIL): A Step-by-Step Tutorial
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2023 · Backend Development

Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual

This article explains the recent correction in Alibaba's developer manual that replaces the ambiguous "expansion count" of HashMap with the precise "resize count", details the conditions under which HashMap triggers resize during the first put operation, and shows why storing 1024 elements in JDK 1.8 results in eight resize calls.

BackendHashMapJDK8
0 likes · 9 min read
Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 12, 2023 · Frontend Development

Implementing Resizable Elements with Vue Directives (v‑resize)

This article explains how to create a Vue directive for element resizing, covering basic right‑side resizing, handling trigger zones, enforcing minimum dimensions, adding left/right multi‑direction support, and providing complete JavaScript and TypeScript implementations with usage examples and future enhancements.

DirectiveResizeTypeScript
0 likes · 16 min read
Implementing Resizable Elements with Vue Directives (v‑resize)
政采云技术
政采云技术
Oct 11, 2023 · Frontend Development

A Comprehensive Guide to React Grid Layout: Usage, Breakpoint & Grid Implementations, Drag‑and‑Drop and Resize Features

This article introduces React Grid Layout, explains how to install and configure it, and provides detailed implementations of responsive breakpoint layouts, grid positioning, component rendering, drag‑and‑drop handling, and resizing logic, complete with code examples and performance considerations.

Drag and DropGrid LayoutReact
0 likes · 20 min read
A Comprehensive Guide to React Grid Layout: Usage, Breakpoint & Grid Implementations, Drag‑and‑Drop and Resize Features
Python Programming Learning Circle
Python Programming Learning Circle
Apr 9, 2022 · Artificial Intelligence

Image Resizing with OpenCV and PyTorch

This article explains how to resize images using OpenCV's cv2.resize function and how to scale multi‑dimensional tensors in PyTorch with torch.nn.functional.interpolate, providing detailed parameter descriptions and practical code examples for both single images and batch processing.

PyTorchResizecomputer vision
0 likes · 6 min read
Image Resizing with OpenCV and PyTorch
Sanyou's Java Diary
Sanyou's Java Diary
Feb 26, 2022 · Fundamentals

How JDK 1.8 Optimizes HashMap Rehashing: Inside the Resize Algorithm

This article explains the JDK 1.8 HashMap resize/re‑hash optimization, showing how the new algorithm splits buckets instead of re‑hashing every entry, and includes the full source code and visual illustrations for single nodes, linked lists, and red‑black trees.

HashMapJDK8Java
0 likes · 8 min read
How JDK 1.8 Optimizes HashMap Rehashing: Inside the Resize Algorithm
Test Development Learning Exchange
Test Development Learning Exchange
Jul 20, 2021 · Artificial Intelligence

Resizing Images with Python and OpenCV

This article demonstrates how to use Python's OpenCV library to read an image, display its original dimensions, resize it to a specified size, save the resized image, and handle user input to close the display windows.

PythonResizeimage processing
0 likes · 2 min read
Resizing Images with Python and OpenCV
Sohu Tech Products
Sohu Tech Products
Mar 10, 2021 · Mobile Development

Understanding Android SOFT_INPUT_ADJUST Modes: Principles, Implementation and Usage

This article explains the five Android soft‑input adjustment modes (RESIZE, PAN, UNSPECIFIED, NOTHING and the method to obtain the visible window frame), analyzes their underlying ViewRootImpl mechanisms with code examples, and demonstrates practical demos showing how each mode affects layout and scrolling behavior.

AndroidPanResize
0 likes · 20 min read
Understanding Android SOFT_INPUT_ADJUST Modes: Principles, Implementation and Usage
Selected Java Interview Questions
Selected Java Interview Questions
Jul 28, 2020 · Fundamentals

Understanding Java HashMap: Structure, Operations, and Internals

This article explains the internal structure and behavior of Java's HashMap, covering its node and tree node classes, default parameters, hash calculation, resizing mechanism, and the conditions under which linked lists are transformed into red‑black trees, along with code examples and performance considerations.

Data StructureHashMapJava
0 likes · 22 min read
Understanding Java HashMap: Structure, Operations, and Internals