Sorry the image dimensions are invalid must be 640×360

Sorry the image dimensions are invalid must be 640×360

Sorry the image dimensions are invalid must be 640×360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Аренда выделенных и виртуальных серверов (VDS/VPS), хостинг, аренда IP-адресов, администрирование, круглосуточная поддержка

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Резервное копирование с проверкой на вирусы.

Удобный сервис создания резервных копий на любой сервер сети интернет. Отслеживайте изменения, проверяйте на вирусы. Надежно защитите свой бизнес!

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Выбираете сервер? Любая конфигурация на заказ!

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Python beginners

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

в боте aiogram я хочу работать с базой данных посредством синглтона, создал пул и передал его. я все верно сделал?

у меня лишь вопрос, мне соединение постоянно брать из message.bot[‘pool_pg’] и передавать его в метод запроса данных?

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Вы подтверждаете, что данный канал или группа содержит недопустимый контент и согласны с тем, что он будет заблокирован до проверки модератором?

Вы подтверждаете, что данное сообщение содержит нарушения и согласны с тем, что оно будет удалено?

75 вопросов от Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360Alex [x]

Подскажие пожалуйста, message.document[-1] нужно писать, если нужен последний?

Можно ли ловить в хэндлер только геолокацию юзера настоящую, а не любую геолокацию?

result_location = [elem if elem in location else elem for elem in location] подскажите как в генератор цикла засунуть break (в else)?

Каким методом можно изменить тип группы?

Sorry, the image dimensions are invalid. Must be 640×360. Где можно картинку подогнать под такой размер в bot father? Хз почему не берёт

Блин, а когда добавят анимацию премиум стикеров в ботах? Кто-то знает?

Есть ли какие-то библиотеки, которые размещают текст на фотографии, на определённом цвете, а не в одном фиксированном месте?

А кто знает как отправлять буквы стикеры какие-то?)) говорят в премиум добавили, не вижу где

Где лучше хранить видео для бота? в папке с ботом или хранить файл айди в бд?

Можно ли сделать лимит хэндлера не на время, а на кол-во переходов на него?

cant send big photos #135

Comments

matze19999 commented Aug 25, 2016

If I want to send a photo with 4,29mb and 9702×7168 I get a error.

Traceback (most recent call last):
File «/usr/local/lib/python2.7/dist-packages/telepot/init.py», line 738, in collector
callback(item)
File «/home/pi/diceyclock.py», line 26, in handle
bot.sendPhoto(chat_id, f)
File «/usr/local/lib/python2.7/dist-packages/telepot/init.py», line 448, in sendPhoto
return self._sendfile(photo, ‘photo’, p)
File «/usr/local/lib/python2.7/dist-packages/telepot/init.py», line 429, in _sendfile
return self._api_request(method, _rectify(params), files)
File «/usr/local/lib/python2.7/dist-packages/telepot/init.py», line 398, in _api_request
return api.request((self._token, method, params, files), **kwargs)
File «/usr/local/lib/python2.7/dist-packages/telepot/api.py», line 131, in request
return _parse(r)
File «/usr/local/lib/python2.7/dist-packages/telepot/api.py», line 126, in _parse
raise exception.TelegramError(description, error_code, data)
TelegramError: (u’PHOTO_INVALID_DIMENSIONS’, 400, )

The text was updated successfully, but these errors were encountered:

zumoshi commented Aug 26, 2016

Hello,
this is not a telepot error, it’s a telegram api limitation.

I couldn’t really find max valid dimensions for images in telegram, but have you tried sending it with sendDocument method instead? that one has no limit on the image size/dimensions.
alternatively, you can resize your image if you want the thumbnail to show up.

Send oversized pictures as documents #79

Comments

omyno commented Jun 6, 2015

When sending a specific image with big dimensions, Pidgin crashes/freezes. When trying to send the image as a file (as it has been solved in webogram), the transfer hangs at 92%. Sending the image via Telegram/Android and tdesktop works fine. The dimensions of the image are 7000×3156. I can see «PHOTO_INVALID_DIMENSIONS» in the debugging output. Maybe the other mobile and desktop clients scale the image down before sending them?

Here is some more gdb output:

Program received signal SIGSEGV, Segmentation fault.
tgp_msg_send_done (TLS=0x555556886ca0, callback_extra=, success=, M=0x0) at tgp-msg.c:152
152 tgp_msg_err_out (TLS, err, M->to_id);
(gdb) backtrace full
#0 tgp_msg_send_done (TLS=0x555556886ca0, callback_extra=, success=, M=0x0) at tgp-msg.c:152

#1 0x00007fffcaf84189 in send_msgs_on_error (TLS=0x555556886ca0, q=0x555556c10cf0, error_code=, error_len=, error=) at tgl/queries.c:1844

#2 0x00007fffcaf8ae13 in tglq_query_error (TLS=0x555556886ca0, at tgl/queries.c:374

#3 0x00007fffcaf7c2f3 in work_rpc_result (c=0x5555568c2d30, msg_id=, TLS=0x555556886ca0) at tgl/mtproto-client.c:857

#4 rpc_execute_answer (TLS=TLS@entry=0x555556886ca0, c=c@entry=0x5555568c2d30, msg_id=) at tgl/mtproto-client.c:955

#6 rpc_execute (TLS=0x555556886ca0, c=0x5555568c2d30, op=, len=) at tgl/mtproto-client.c:1186

#7 0x00007fffcaf654c0 in try_rpc_read (c=0x5555568c2d30) at tgp-net.c:442

#8 try_read (c=0x5555568c2d30) at tgp-net.c:488

#9 conn_try_read (arg=0x5555568c2d30, source=, cond=) at tgp-net.c:237

No symbol table info available.
#11 0x00007ffff537ab4d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

No symbol table info available.
#13 0x00007ffff537b242 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0

No symbol table info available.
#14 0x00007ffff6623857 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0

No symbol table info available.
#15 0x000055555558f2c9 in main ()

No symbol table info available.

The text was updated successfully, but these errors were encountered:

Comments

UsefulHunter commented Nov 19, 2018

**OS: Kubuntu 18.04 64 bits, kernel version 4.15.0.39-generic
**

React-pdf version: «@react-pdf/renderer»: «^1.0.0-alpha.25»,
«react»: «^16.5.2»,

**Description: While trying to render any image, it gives me the Warning: Image with src «. » skipped due to invalid dimensions. I tried either local, and online images, and in any situation, it is giving me the same warning. **

**How to replicate issue including code snippet (if applies):
export default () => (

You can make use of react-pdf REPL to share the snippet

The text was updated successfully, but these errors were encountered:

diegomura commented Nov 26, 2018

It’s not an issue of the image data, but on the image layout. This happens when the image [cannot grow on some of the x or y coordinates[(https://github.com/diegomura/react-pdf/blob/master/src/elements/Image.js#L137). Please try enhancing the Image parent’s layout config

0FilipK commented Apr 3, 2019

Bored0ne commented Jun 21, 2019

This didn’t quite help me as much, but I did find that on the Image tag I was using needed to set a width and height as a style, and that got it to render. hopefully this helps others.

Zabbix shows that bot readonly user is online.

Comments (3)

@gelato what’s in config file?

gelato commented on September 23, 2016

tg_key = «api###» # telegram bot api key

zbx_tg_prefix = «zbxtg» # variable for separating text from script info
zbx_tg_tmp_dir = «/tmp/» + zbx_tg_prefix # directory for saving caches, uids, cookies, etc.
zbx_tg_signature = False

proxy_to_zbx = None
proxy_to_tg = None

#proxy_to_zbx = «proxy.local:3128»
#proxy_to_tg = «proxy.local:3128»

emoji_map = <
«ok»: » «,
«problem»: » «,
«info»: » ℹ️ «,
«warning»: » ⚠️ «,
«disaster»: » «,
«bomb»: » «,
«fire»: » «,
«hankey»: » «,
>

[[email protected] server alertscripts]# cat /tmp/zbxtg/22181.png

cat: /tmp/zbxtg/22181.png: No such file

gelato commented on September 23, 2016

Fixed by myself. Just needed to grant all readonly permissions to zabbix user, while first time i gave only to some hostgroups. Sorry.

Related Issues (20)

Recommend Projects

A declarative, efficient, and flexible JavaScript library for building user interfaces.

Vue.js

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TensorFlow

An Open Source Machine Learning Framework for Everyone

Django

The Web framework for perfectionists with deadlines.

A PHP framework for web artisans

Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

javascript

JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

Some thing interesting about web. New door for the world.

server

A server is a program made to process requests and deliver data to clients.

Machine learning

Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

Visualization

Some thing interesting about visualization, use data art

Some thing interesting about game, make everyone happy.

Recommend Org

Facebook

We are working to build community through open source technology. NB: members must have two-factor auth.

Microsoft

Open source projects and samples from Microsoft.

messages.uploadMedia

Upload a file and associate it to a chat (without actually sending it to the chat)

NameTypeDescription
peerInputPeerThe chat, can be an inputPeerEmpty for bots
mediaInputMediaFile uploaded in chunks as described in files »
CodeTypeDescription
400BOT_MISSINGThis method can only be run by a bot.
400CHANNEL_PRIVATEYou haven’t joined this channel/supergroup.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400CHAT_RESTRICTEDYou can’t send messages in this chat, you were restricted.
403CHAT_WRITE_FORBIDDENYou can’t write in this chat.
400FILE_PARTS_INVALIDThe number of file parts is invalid.
400IMAGE_PROCESS_FAILEDFailure while processing image.
400INPUT_USER_DEACTIVATEDThe specified user was deleted.
400MEDIA_INVALIDMedia invalid.
400MSG_ID_INVALIDInvalid message ID provided.
400PEER_ID_INVALIDThe provided peer id is invalid.
400PHOTO_EXT_INVALIDThe extension of the photo is invalid.
400PHOTO_INVALID_DIMENSIONSThe photo dimensions are invalid.
400PHOTO_SAVE_FILE_INVALIDInternal issues, try again later.
400USER_BANNED_IN_CHANNELYou’re banned from sending messages in supergroups/channels.
400WEBPAGE_CURL_FAILEDFailure while fetching the webpage with cURL.

An empty constructor, no user or chat is defined.

How to transfer large data batches correctly.

Коды ошибок Telegram API

В данной статье собраны ошибки, возвращаемые API Telegram. Числовое значение аналогично статусу HTTP. Содержит информацию о типе возникшей ошибки: например, ошибка ввода данных, ошибка конфиденциальности или ошибка сервера.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

303 SEE_OTHER

Запрос необходимо повторить, но направить в другой центр обработки данных.

Во всех этих случаях строковый литерал описания ошибки содержит номер центра обработки данных (вместо X), в который должен быть отправлен повторный запрос.

ОШИБКА 400, НЕВЕРНЫЙ ЗАПРОС

Запрос содержит ошибки. В случае, если запрос был создан с использованием формы и содержит данные, созданные пользователем, пользователь должен быть уведомлен о том, что данные должны быть исправлены, прежде чем запрос будет повторен.

401 ОШИБКА ДОСТУПА

Произошла попытка несанкционированного использования функций, доступных только авторизованным пользователям.

403 ЗАПРЕЩЕНО

Нарушение конфиденциальности. Например, попытка написать сообщение кому-то, кто занес текущего пользователя в черный список.

404 НЕ НАЙДЕНО

Попытка вызвать несуществующий объект, например метод.

406 NOT_ACCEPTABLE

420 FLOOD

Превышено максимально допустимое количество попыток вызвать данный метод с заданными входными параметрами. Например, при попытке запросить большое количество текстовых сообщений (SMS) на один и тот же номер телефона.

500 ВНУТРЕННИЙ

Произошла внутренняя ошибка сервера во время обработки запроса; например, произошел сбой при доступе к базе данных или файловому хранилищу.

Если клиент получает ошибку 500 или вы считаете, что эта ошибка не должна была возникнуть, пожалуйста, соберите как можно больше информации о запросе и ошибке и отправьте ее разработчикам.

Другие коды ошибок

Если сервер возвращает ошибку с кодом, отличным от перечисленных выше, это может рассматриваться как ошибка 500 и рассматриваться как внутренняя ошибка сервера.

How to generate ONNX model with different image width and height? #4813

Comments

zydjohnHotmail commented Sep 15, 2021 •

So, I got the ONNX model with file name: best.onnx.

And I downloaded WinML Dashboard v0.7.0 from Microsoft web site.
I open the best.onnx with WinML Dashboard, and I see the information about this best.onnx.
If I am correct, the best.onnx model assumes all the images have the width and height at 768px. But all my images for training have 768px as width, but have 432px as height.
I tried to use best.onnx in C# program to detect objects, but I always got errors, like:
[ErrorCode:InvalidArgument] Got invalid dimensions for input: images for the following indices
index: 2 Got: 432 Expected: 768
Please fix either the inputs or the model.

Please advise on how I can fix this issue from the best.onnx model? (I am using Windows 10 and Python 3.9.7)
Thanks,

The text was updated successfully, but these errors were encountered:

zydjohnHotmail commented Sep 15, 2021

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

glenn-jocher commented Sep 15, 2021

@zydjohnHotmail export.py argparser arguments explain this:

zydjohnHotmail commented Sep 15, 2021

Hello:
Thanks for your reply. But I want to know when I trained my dataset, can I add some parameters to set image size? Or I only need to do this when export the ONNX?
Thanks,

glenn-jocher commented Sep 15, 2021

zydjohnHotmail commented Sep 15, 2021

Hello:
I have tried your command, and use WinML Dashboard v0.7.0 to look at best.onnx. I found the size is: 448 px by 768px. And I used it in my C# program, but there is no object detected.
If I understand it correctly, the size of image is scaled to times of 32, so size 432 is scaled to 448. But this way, the trained model may not work for object detection.
Do I have to scale images from 768 * 432 to 768 * 448, then train the model again?

glenn-jocher commented Sep 15, 2021

@zydjohnHotmail small adjustments in image size are not going to affect inference results much. If your pytorch model works with detect.py then there’s no reason to train anything again unless you’re trying to improve upon that result.

zydjohnHotmail commented Sep 15, 2021

Invalid dimensions error when showing gray image in rec file #2853

Comments

albertyou2 commented Jul 27, 2016 •

import mxnet as mx
import numpy as np
import matplotlib.pyplot as plt

import os

batch_size = 10
data_shape = (3, 100, 100)

rec_file = «/Users/zuekiWork/Documents/mxnet_jd/data/train_all_100.rec»
rec_list = «/Users/zuekiWork/Documents/mxnet_jd/data/train_all.lst»

rec_iter = mx.io.ImageRecordIter(
path_imgrec = rec_file,
path_imglist= rec_list,
data_shape = data_shape,
batch_size = batch_size,
shuffle = False,
flat = True)

for i in range(batch_size):
plt.subplot(1,batch_size,i+1)
X=X_test[i]
print «before:», X.shape
X=np.swapaxes(X, 0, 2)
X=np.swapaxes(X, 0, 1)
print «after:», X.shape
#plt.imshow(X,cmap=’Greys_r’)
plt.imshow(X.astype(np.uint8))
plt.axis(‘off’)
plt.show()

Full exception log here :

.
Traceback (most recent call last):
File «show_img_in_rec.py», line 28, in
plt.imshow(X_test[0], cmap=’Greys_r’)
File «/Users/zuekiWork/anaconda2/lib/python2.7/site-packages/matplotlib/pyplot.py», line 3022, in imshow
*_kwargs)
File «/Users/zuekiWork/anaconda2/lib/python2.7/site-packages/matplotlib/init.py», line 1812, in inner
return func(ax, *args, *_kwargs)
File «/Users/zuekiWork/anaconda2/lib/python2.7/site-packages/matplotlib/axes/_axes.py», line 4947, in imshow
im.set_data(X)
File «/Users/zuekiWork/anaconda2/lib/python2.7/site-packages/matplotlib/image.py», line 453, in set_data
raise TypeError(«Invalid dimensions for image data»)
TypeError: Invalid dimensions for image data

The text was updated successfully, but these errors were encountered:

TypeError: недопустимые размеры для данных изображения при построении массива с помощью imshow()

для следующего кода

С new_SN_map быть массивом 1D и mean_SN и sigma_SN будучи константами, я получаю следующую ошибку.

что является источником этой ошибки? Я думал, что мои числовые операции разрешены.

1 ответов

есть (несколько) связанные вопросы по StackOverflow:

TypeError: недопустимые размеры для данных изображения

и здесь: matplotlib.pyplot.imshow() требуется 2D-массив или 3D-массив с третьим измерением формы 3 или 4!

на np.asarray то, что делается внутри matplotlib.pyplot.imshow так что, как правило, лучше сделать это тоже. Если у вас есть массив numpy, он устарел, но если нет (например, list ) это необходимо.

в вашем конкретном случае у вас есть массив 1D, поэтому вам нужно добавить измерение с np.expand_dims()

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

или просто используйте что-то, что принимает массивы 1D, такие как plot :

Invalid sticker size to Telegram Sticker about Line-sticker-downloader HOT 1 CLOSED

Sorry, the image dimensions are invalid. Please check that the image fits into a 512×512 square (one of the sides should be 512px and the other 512px or less).

Edit : The sticker output is like 251 x 210 px in size. So it is not valid as either height or width must be sized 512 px

Can you create a functionality that automatically detects the output sticker size and makes the sticker size valid to Telegram?

Comments (1)

This may not be in your project scope, so I decided to close it.
If you feel like to, you could reopen this issue.

Related Issues (12)

Recommend Projects

A declarative, efficient, and flexible JavaScript library for building user interfaces.

Vue.js

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TensorFlow

An Open Source Machine Learning Framework for Everyone

Django

The Web framework for perfectionists with deadlines.

A PHP framework for web artisans

Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

javascript

JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

Some thing interesting about web. New door for the world.

server

A server is a program made to process requests and deliver data to clients.

Machine learning

Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

Visualization

Some thing interesting about visualization, use data art

Some thing interesting about game, make everyone happy.

Recommend Org

Facebook

We are working to build community through open source technology. NB: members must have two-factor auth.

Microsoft

Open source projects and samples from Microsoft.

Изменить размер изображения онлайн

Зачем изменять размер изображения?

При отображении или публикации изображения онлайн нам часто требуется изменить размер изображения чтобы оно полностью поместилось на экране средства просмотра или для изменения размера файла. В частности, может потребоваться уменьшить изображение при отправке в качестве вложения электронной почты или размещения на веб-сайте. Социальные платформы, такие как Facebook и Instagram с собственными ограничениями на размер изображения, также не являются исключением в этом отношении.

Теперь важно понимать, как изменить размер фотографии без потери качества. Технически, изменение размера изменяет информацию о пикселях. Например, когда ширина и высота изображения уменьшаются, любая избыточная информация о пикселях удаляється. Чтобы увеличить изображение, программа изменения размера изображения должна добавить новые пиксели на основе исходных пикселей, что приводит к размытому изображению. Таким образом, суть изменения размера изображения без потери качества состоит в том, чтобы сделать снимок с самым высоким разрешением и уменьшить его размер.

Изменяйте размер изображений онлайн с ResizePixel

Существует большое разнообразие программного обеспечения для редактирования изображений со всеми видами функций, такими как 3D-рендеринг, обработка изображений с помощью искусственного интеллекта и т. д. Почти все эти инструменты предлагают базовые функции редактирования изображений, включая изменение размера изображений. Однако современное программное обеспечение может быть дорогим и трудным в использовании из-за потребности в обучении. Для большинства пользователей, ищущих бесплатное и простое в использовании приложение для изменения размера фотографий онлайн, ResizePixel может быть решением.

Приложение ResizePixel предоставляет простой, но мощный сервис для изменения размера изображения в пикселях. Вы можете изменить размер PNG, JPG, GIF, WEBP, TIFF и BMP изображений с удобной опцией сохранения исходного соотношения сторон. Чтобы сделать файл изображения еще меньше, попробуйте изменить размер изображения в КБ/МБ. Измените размер изображения онлайн всего за несколько кликов, не устанавливая дополнительного программного обеспечения, и все в одном!

Как изменить размер изображения?

Бесплатно и безопасно

PHP Warning: public function resize in /system/library/image.php #7851

Comments

cgcmart commented Feb 6, 2020

What version of OpenCart are you reporting this for?
Master branch

Describe the bug
A clear and concise description of what the bug is
What section does it affect?

PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /system/library/image.php on line 169
PHP Warning: imagealphablending() expects parameter 1 to be resource, boolean given in /system/library/image.php on line 172
PHP Warning: imagesavealpha() expects parameter 1 to be resource, boolean given in /system/library/image.php on line 173
PHP Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in /system/library/image.php on line 175
PHP Warning: imagecolortransparent() expects parameter 1 to be resource, boolean given in /system/library/image.php on line 177
PHP Warning: imagefilledrectangle() expects parameter 1 to be resource, boolean given in /system/library/image.php on line 182
PHP Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /system/library/image.php on line 184

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots / Screen recordings
If applicable, add screenshots or recordings to help explain your problem. Please keep these short and if you can, edit them to point out when/where the problem is.
https://www.useloom.com/ is perfect for screen recording with Chrome or with their desktop app

Server / Test environment (please complete the following information):

Additional context
Add any other context about the problem here.

The text was updated successfully, but these errors were encountered:

Image no explicit width/height on SVG with dimensions #11631

Comments

BernardA commented Nov 5, 2020 •

Provide the steps to reproduce

What is the current behavior?

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

What is the expected behavior?

This is the Next.js/React markup:

And the corresponding HTML:

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Environment Information

Related issues

The text was updated successfully, but these errors were encountered:

patrickhulce commented Nov 5, 2020 •

Thanks for filing @BernardA!

I’m not sure how we’re going to handle this. In practice this particular data SVG will never cause a layout shift, but both SVGs and data URIs can cause layout shifts separately.

Maybe we’ll ignore non-network images with a SVG MIME type (potential problem what if SVG doesn’t have dimensions, invalid, etc it will cause layout shift).

paulirish commented Nov 9, 2020

Maybe we’ll ignore non-network images with a SVG MIME type (potential problem what if SVG doesn’t have dimensions, invalid, etc it will cause layout shift).

+1. Let’s do this and comment it out. It’s a compromise solution but works.

spanicker commented Dec 21, 2020

any ETA on a fix?

patrickhulce commented Feb 22, 2021

PR is up for this at #12120

geisterfurz007 commented May 19, 2022 •

I might be missing something but is it possible that this may be back again in Lighthouse 9.3.0?

I have this image:

The decoded SVG is » «

The image is part of the output of a next/image component as in the original issue.

Let me know if I can help debug this!

Note: This occurs both in LHCI running with Lighthouse 9.3.0 as well as Chromium 101 running Lighthouse 9.5.0.

styfle commented May 19, 2022

I believe that was fixed in #13737

adamraine commented May 19, 2022

I reproduced this again on v9.6.1 but not master. Will investigate.

adamraine commented May 19, 2022

Oh yup @styfle was right I saw you linked to a PR and assumed it was #12120. All good here.

geisterfurz007 commented May 19, 2022

Awesome thanks a lot for the fast response and sorry for missing that PR in my research! Are there any plans as to when the fix will land in a stable version?

adamraine commented May 19, 2022

Will probably land with 10.0, date TBD

This comment was marked as spam.

connorjclark commented Jun 9, 2022

We have a @next nightly release on NPM.

This comment was marked as spam.

styfle commented Aug 10, 2022 •

@adamraine @connorjclark I would expect this fix (#12120 and #13737) to land before Lighthouse 10 since it can be considered a patch release (its a fix, not a breaking change).

There are 3 million weekly downloads of Next.js and next/image has been using this svg placeholder since since October 2020 when next/image was introduced.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Please release this fix as soon as possible, thanks!

Error handling

There will be errors when working with the API, and they must be correctly handled on the client.

An error is characterized by several parameters:

Numerical value similar to HTTP status. Contains information on the type of error that occurred: for example, a data input error, privacy error, or server error. This is a required parameter.

A full machine-readable JSON list of RPC errors that can be returned by all methods in the API can be found here », what follows is a description of its fields:

Error messages and error descriptions may contain printf placeholders in key positions, for now only %d is used to map durations contained in error messages to error descriptions.

There should be a way to handle errors that are returned in rpc_error constructors.

Below is a list of error codes and their meanings:

The request must be repeated, but directed to a different data center.

In all these cases, the error description’s string literal contains the number of the data center (instead of the X) to which the repeated query must be sent. More information about redirects between data centers »

The query contains errors. In the event that a request was created using a form and contains user generated data, the user should be notified that the data must be corrected before the query is repeated.

There was an unauthorized attempt to use functionality available only to authorized users.

Privacy violation. For example, an attempt to write a message to someone who has blacklisted the current user.

An attempt to invoke a non-existent object, such as a method.

Similar to 400 BAD_REQUEST, but the app should not display any error messages to user in UI as a result of this response. The error message will be delivered via updateServiceNotification instead.

An exception to this is the AUTH_KEY_DUPLICATED error, which is only emitted if any of the non-media DC detects that an authorized session is sending requests in parallel from two separate TCP connections, from the same or different IP addresses.
Note that parallel connections are still allowed and actually recommended for media DCs. Also note that by session we mean a logged-in session identified by an authorization constructor, fetchable using account.getAuthorizations, not an MTProto session.

After receiving an AUTH_KEY_DUPLICATED error, the session will be invalidated by the server and the user will be forced to login again.

The maximum allowed number of attempts to invoke the given method with the given input parameters has been exceeded. For example, in an attempt to request a large number of text messages (SMS) for the same phone number.

An internal server error occurred while a request was being processed; for example, there was a disruption while accessing a database or file storage.

If a client receives a 500 error, or you believe this error should not have occurred, please collect as much information as possible about the query and error and send it to the developers.

If a server returns an error with a code other than the ones listed above, it may be considered the same as a 500 error and treated as an internal server error.

The image dimensions could not be determined (the image may be invalid) #19

Comments

sadeghmohebbi commented Sep 3, 2018 •

and i use below code for implementing imgr:
var IMGR = require(‘imgr’).IMGR; var imgr = new IMGR(); imgr.serve(‘./public/images’).namespace(‘/crop’).urlRewrite(‘/:path/:size/images/:file.:ext’).using(app);
library implementtation in. our project is works perfect but for this image, it get me error, why?

Error: The image dimensions could not be determined (the image may be invalid). at /root/chandpar-backend/node_modules/imgr/lib/size.js:14:24 at done (/root/chandpar-backend/node_modules/imagesize/lib/imagesize.js:281:5) at ReadStream.handleData (/root/chandpar-backend/node_modules/imagesize/lib/imagesize.js:291:7) at emitOne (events.js:116:13) at ReadStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ReadStream.Readable.push (_stream_readable.js:208:10) at fs.read (fs.js:2058:12) at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)

The text was updated successfully, but these errors were encountered:

SendMediaRequest

Both users and bots can use this method. See code examples.

Copy import to the clipboard

Returns

This type can be an instance of either:

Parameters

Known RPC errors

This request can cause 42 known errors:

BotPaymentsDisabledErrorThis method can only be run by a bot.
BotPollsDisabledErrorYou cannot create polls under a bot account.
BroadcastPublicVotersForbiddenErrorYou cannot broadcast polls where the voters are public.
ChannelInvalidErrorInvalid channel object. Make sure to pass the right types, for instance making sure that the request is designed for channels or otherwise look for a different one more suited.
ChannelPrivateErrorThe channel specified is private and you lack permission to access it. Another reason may be that you were banned from it.
ChatAdminRequiredErrorChat admin privileges are required to do that in the specified chat (for example, to send a message in a channel which is not yours), or invalid permissions used for the channel or group.
ChatSendMediaForbiddenErrorYou can’t send media in this chat.
ChatWriteForbiddenErrorYou can’t write in this chat.
CurrencyTotalAmountInvalidError.
EmoticonInvalidErrorThe specified emoticon cannot be used or was not a emoticon.
ExternalUrlInvalidErrorExternal URL invalid.
FilePartsInvalidErrorThe number of file parts is invalid.
FilePartLengthInvalidErrorThe length of a file part is invalid.
FileReferenceEmptyErrorThe file reference must exist to access the media and it cannot be empty.
FileReferenceExpiredErrorThe file reference has expired and is no longer valid or it belongs to self-destructing media and cannot be resent.
GameBotInvalidErrorYou cannot send that game with the current bot.
InputUserDeactivatedErrorThe specified user was deleted.
MediaCaptionTooLongErrorThe caption is too long.
MediaEmptyErrorThe provided media object is invalid or the current account may not be able to send it (such as games as users).
PaymentProviderInvalidErrorThe payment provider was not recognised or its token was invalid.
PeerIdInvalidErrorAn invalid Peer was used. Make sure to pass the right peer type and that the value is valid (for instance, bots cannot start conversations).
PhotoExtInvalidErrorThe extension of the photo is invalid.
PhotoInvalidDimensionsErrorThe photo dimensions are invalid (hint: `pip install pillow` for `send_file` to resize images).
PhotoSaveFileInvalidErrorThe photo you tried to send cannot be saved by Telegram. A reason may be that it exceeds 10MB. Try resizing it locally.
PollAnswersInvalidErrorThe poll did not have enough answers or had too many.
PollOptionDuplicateErrorA duplicate option was sent in the same poll.
PollQuestionInvalidErrorThe poll question was either empty or too long.
QuizCorrectAnswersEmptyErrorA quiz must specify one correct answer.
QuizCorrectAnswersTooMuchErrorThere can only be one correct answer.
QuizCorrectAnswerInvalidErrorThe correct answer is not an existing answer.
QuizMultipleInvalidErrorA poll cannot be both multiple choice and quiz.
RandomIdDuplicateErrorYou provided a random ID that was already used.
ScheduleDateTooLateErrorThe date you tried to schedule is too far in the future (last known limit of 1 year and a few hours).
ScheduleTooMuchErrorYou cannot schedule more messages in this chat (last known limit of 100 per chat).
StorageCheckFailedErrorServer storage check failed.
TimeoutErrorA timeout occurred while fetching data from the worker.
UserBannedInChannelErrorYou’re banned from sending messages in supergroups/channels.
UserIsBlockedErrorUser is blocked.
UserIsBotErrorBots can’t send messages to other bots.
VideoContentTypeInvalidErrorThe video content type is not supported with the given parameters (i.e. supports_streaming).
WebpageCurlFailedErrorFailure while fetching the webpage with cURL.
WebpageMediaEmptyErrorWebpage media empty.

Example

Please refer to the documentation of client.send_file() to learn about the parameters and see several code examples on how to use it.

The method above is the recommended way to do it. If you need more control over the parameters or want to learn how it is implemented, open the details by clicking on the «Details» text.

Image elements returns «skipped due to invalid dimensions» #552

Comments

0FilipK commented Apr 3, 2019

To Reproduce
Here is a codesandbox with simplest example: https://codesandbox.io/s/yjpk4nkk61

The text was updated successfully, but these errors were encountered:

0FilipK commented Apr 3, 2019

I figured it out. It was caused by StyleSheet style but this error is misleading as hell. Just removed flexDirection and flexGrow and now it’s works as expected.

lulalachen commented May 29, 2019

Does that mean we cannot use flex box in any of its ancestors?

diegomura commented May 29, 2019

Not necessarily, but there are some cases in which flexbox will cause issues on images. I couldn’t still get exactly in which cases this happens

aexol commented Nov 5, 2019

works. Just set width:’auto’ on image as its not default here @diegomura

aexol commented Nov 5, 2019

Isaac-Svi commented Dec 14, 2020

DewangS commented Feb 18, 2021

In my case none of the below image URLs worked.. please note, I don’t keep images under the public folder of my React app. Images are stored under the src\assets\ folder.

or

It only worked by loading the image like below and using it as a source

Error: Invalid dimensions for plot, width = 1470, height = 0 #238

Comments

mikebdp2 commented Jun 15, 2020 •

I’m getting An unexpected error happened screen :
Error: Invalid dimensions for plot, width = 1470, height = 0
when there should be a lot of «slices» in a panel, and regardless of a panel’s/pie’s size:

The text was updated successfully, but these errors were encountered:

lovelly commented Jan 13, 2021

I also encountered this problem and look forward to solving it.

lovelly commented Jan 13, 2021

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Footer

© 2022 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Keras ValueError: Dimensions must be equal issue

Even after applying the suggestions in answer and comments, it looks like the dimension mismatch issue persists. This is exact code and data file to replicate as well: https://drive.google.com/drive/folders/1q67s0VhB-O7J8OtIhU2jmj7Kc4LxL3sf?usp=sharing

How can this be corrected!? Latest code, model summary, functions used and error I get is below

The data is of dimensions:

losses look like:

The correlation function is based on tensors as follows:

model summary looks like:

This is the error:

2 Answers 2

Trending sort

Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.

It falls back to sorting by highest score if no posts are trending.

Switch to Trending sort

You are having two loss functions and so you have to pass two y (ground truths) for evaluating the loss with respect to the predictions.

Your first prediction is the output of layer encoded_layer which has a size of (None, 8, 8, 128) as observed from the model.summary for conv2d_59 (Conv2D)

If you want the loss_1 to find the correlation of input image with the encoded image then stack the convolutions such that the output of the convolutions will result in the shape which is the same as your x_train image shape. Use model.summary to see the output shape of convolutions.

No use the padding, strides and kernel size of the convolution layer to get the desired output size of convolutions. use formula W2=(W1−F+2P)/S+1 and H2=(H1−F+2P)/S+1 to find the output width and height of convolutions. Check this reference

There are two major issues with your approach.

Below is the working code. However, for loss 1 I am using l2 norm of the two images. If you want to use correlation then you have to somehow convert it into tensor operations (which is a different issue from this question)

The loss function distance_correlation you have coded assumes that each row in y_true and y_pred represent an image. When you use Dense layers it will work because Dense layer outputs a batch of (row) vectors, where each vector represents an individual image. However, 2D convolutions operate on a batch of 2d tensors with multiple channels ( you have only 1 channel). So to use the distance_correlation loss function you have to reshape your tensor such that each row corresponds to an image. Add below two lines to reshape your tensors.

Drupal Русскоязычное сообщество

Drupal 6.8 нашел ошибку в модуле imagefield и imagecache при обработке картинки (уменьшении размера для вставки в превью новости) вылетает:

* warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in C:\Internet\partsru\site\www\modules\imageapi\imageapi_gd.module on line 135.
* warning: imagecopyresampled(): supplied argument is not a valid Image resource in C:\Internet\partsru\site\www\modules\imageapi\imageapi_gd.module on line 62.

При этом было установлено, что при обработке изображениями правилами imagecache такая ошибка вылазит только в случае не установки какого параметра для операции resize. Раньше я как делал в D5, ставил ширину изображения 100px высоту ставил пустую. В этом случае программа уменьшала ширину изображения и пропорционально ей высоту, а сейчас выдает ошибку.

Вот такая ерунда. как решить и в каком модуле добавить строк.

Комментарии

неужели никто не встречал?

Проблема то известная.

Invalid Dimension

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

I’m working on my mod «A Craftin’ Time», and when I try to load a world, the game crashes:

14:55.58 [Server thread/INFO] [minecraft/IntegratedServer]: Starting integrated minecraft server version 1.12.2

14:55.58 [Server thread/INFO] [minecraft/IntegratedServer]: Generating keypair

14:55.58 [Server thread/INFO] [FML]: Injecting existing registry data into this server instance

14:55.59 [Server thread/INFO] [FML]: Applying holder lookups

14:55.59 [Server thread/INFO] [FML]: Holder lookups applied

14:55.59 [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@55e7140c)

14:55.59 [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception

java.lang.IllegalArgumentException: Invalid dimension a_craftin_time:timerift

at net.minecraft.advancements.AdvancementManager. (AdvancementManager.java:61)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:552) [MinecraftServer.class:?]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]

14:55.59 [Server thread/ERROR] [minecraft/MinecraftServer]: This crash report has been saved to: C:\Users\Benonius\MCreatorWorkspaces\a_craftin_time\run\.\crash-reports\crash-2020-03-27_14.55.59-server.txt

14:55.59 [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server

14:55.59 [Server thread/INFO] [minecraft/MinecraftServer]: Saving players

14:55.59 [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds

14:55.59 [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level ‘New World’/overworld

14:55.59 [Server thread/INFO] [FML]: Unloading dimension 0

14:55.59 [Server thread/INFO] [FML]: Applying holder lookups

14:55.59 [Server thread/INFO] [FML]: Holder lookups applied

14:55.59 [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.

Social Media Image Sizes: Guide for 2022 (Updated Monthly)

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

When you have a split second to impress a customer, a piece of visual content is your best bet. To get someone to stop scrolling, it’s not enough to publish just any meme, photo, or illustration. Your images on social media need to meet specific criteria.

Aside from relevant image content, its quality and style all matter when you’re competing for follower attention on social media platforms. And yes, size matters, too.

In fact, choosing the right image dimensions for different social networks can make or break your chances to grab your followers’ attention.

This guide will answer all your questions regarding image sizes on social media, updated to provide the most relevant information for the listed social media platforms.

Social Media Image Sizes: Pick the Category You’re Interested In

Facebook Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

When it comes to Facebook, you’re not one in a million. You’re one among 10 million advertisers on this social platform that has close to three billion users. Competing for attention on such an oversaturated network means that every detail matters, the size of your images included.

Now that visual content is dominating social media, optimizing your Facebook page images to match your brand purpose and audience preferences is essential. It helps you grab their attention and boost engagement. Posting high-quality images on Facebook helps you target a global audience that will be more inclined to share your content across other platforms, too.

Every image on Facebook displays differently, so we’ve divided this section into categories to help you find exactly what you need.

Facebook profile picture size

Facebook business pages have changed to showcase the profile picture on the left side, making them easier to distinguish from personal profiles. However, it has no bearing on the size of the photo you should choose.

Optimal Image Size:

Facebook cover photo size

Unlike profile pictures, business cover photos have more wiggle room for expressing your brand’s unique value proposition.

Optimal Image Size:

Hint: What matters most is that you choose an image that falls within the 640×312 parameters to make sure they are central and visible on any device.

Facebook banner size

The banner image is another term that refers to the cover image, which means the same size guidelines from the previous segment apply.

Keep in mind that you can upload larger images, but Facebook will ask you to crop them, which means that some of its details might be missing once the image is published. To make the most of your cover (or banner) image on your Facebook page, follow this platform’s guidelines to ensure its visibility.

Facebook event cover photo size

An event photo has a limited time to make an impact and provide all the right information to your audience. At a glance, your followers should be able to tell what the event is about and get excited about itб thanks to your enticing image.

Since you’re looking to get people to respond as quickly as possible, this time-bound engagement calls for impactful images.

Optimal event cover image size:

Choose a high-quality image, preferably in a PNG or JPG formatб to preserve its quality wherever it is displayed.

Facebook group cover photo size

Facebook groups are places where most of all the action happens. It’s where your followers are most likely to engage through comments, shares, and likes. Your group image can also tip the scales in your favor and get more people interested in subscribing.

Optimal image sizes:

Facebook post size

When you add images to your post, you should think about what your audience wants to see and what they are more likely to share. If you publish a visual element that is both appealing and the right display size, your social media timeline will look better and inspire more engagement.

Once you nail the recommended image sizes for your post, you can prepare them in advance and automate your Facebook posting to ensure uploading consistency.

Optimal shared image size:

Facebook ad size

Optimal ad image sizes:

Facebook video size

Optimal video sizes:

LinkedIn Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

As the leading professional network, LinkedIn enables brands to connect with potential partners, investors and find top industry talent. Posting on LinkedIn also helps your business grow its reputation and authority.

Getting more LinkedIn exposure means you need to stay in the know and use trending hashtags. But part of that credibility-building process depends on the right visuals.

LinkedIn company cover photo size

A company page supported by a compelling cover image aligned with your brand messaging improves your networking potential. This image is widely compared to cover images on other social networks, and it displays differently on mobile devices. It gives you plenty of room to express your business values, so you can use it to publish a banner with your tagline or an image of your team.

Optimal cover photo size:

LinkedIn banner size

Just like with Facebook, don’t let the terminology confuse you. The banner image on LinkedIn refers to the cover image for either your personal profile or your business page. Either way, it should follow the size guidelines from the section above.

However, if you want to improve your LinkedIn Life Tab hero image, it does come in the banner format to capture the visitor’s attention immediately. This is an excellent spot to showcase your achievements and company culture.

Optimal Life Tab hero image size:

Optimal Life Tab custom module size:

LinkedIn post image size

One of the best ways to improve your social content in 2022 and beyond is to publish image posts, including the ones for LinkedIn. Visually-supported LinkedIn posts generate more engagement and stand out in the newsfeed.

Optimal post image size:

LinkedIn photo size

On your Life Tab page, you can include photos to represent your employees, a company event cover photo, or an image relevant to your corporate culture. Known as company photos, they are normally positioned below the custom modules.

Optimal company photo size:

LinkedIn profile picture size

Company pages on Linkedin often use their logo as a profile photo, just like on Facebook. For personal profiles, it’s best to use a high-quality professional photo with a maximum file size of 8MB.

Optimal profile picture size:

LinkedIn article image size

Adding images to your articles on LinkedIn supports the story and makes your writing more appealing to your readers.

Optimal article image size:

LinkedIn background photo size

Just like a cover photo (or a banner image) appears on your business page on LinkedIn, you can upload a background photo on your personal profile.

Optimal background photo size:

LinkedIn logo size

The image most companies use on their official LinkedIn pages is usually their logo. It’s the equivalent of the profile picture on your personal profile, and it has very limited space for depicting anything other than the logo.

Optimal logo size:

LinkedIn ad size

Ads on LinkedIn display in various formats, but to make it simpler for you to choose the right image size, we’ve divided them according to their purpose.

Optimal single image ad size:

Twitter Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Chirping your way to social stardom calls for more than creative hashtags and tidbits of wisdom. As much as it is about mentions, tags, and discussions, Twitter is also a visual platform.

To use it to its full potential, you should understand what roles images can play in your tweets and business pages. The right visuals increase your brand’s chances to get more traction.

Twitter banner size

The Twitter header photo on your profile page, also known as the banner, is a great place for your company tagline or your product selection.

Choose a picture that encompasses as much of your brand identity as possible, but keep important details out of the bottom left corner. That’s the only part that your profile picture will cover.

Optimal banner size:

Twitter profile picture size

The trend of round profile pictures has defined Twitter’s profile look and feel, too. Choose a regular, square image, but test it just like on Facebook to make sure that the round shape includes the most relevant details.

Optimal profile picture size:

Twitter post size

The aspect ratio for the photos you add to your post is 2:1. That’s why it’s important to publish images of good quality so that they don’t lose appeal once posted.

Optimal post image size:

Twitter video size

Optimal video size:

Twitter ad size

You might have noticed that ad specifications can be the most complex on every social network when it comes to image selection. With so many options available, choosing the right-sized image can make every Twitter card, carousel, or standalone ad more effective.

Optimal ad image size:

Instagram Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

According to the latest research, Instagram boasts over 1 billion users today, and 81% of people use it to learn about brands and products. Since it’s a predominantly visual platform, you cannot afford to post sub-par images. Follow the listed cheat sheet and keep an eye on your social metrics to see how well your posts are performing.

Instagram post size

The beautiful grid of photos on your Instagram profile offers three types of images to post, rectangular, portrait, or landscape photos.

Optimal post size:

Instagram story size

Stories on Instagram are the perfect vessel for publishing GIFs, as well as photos and videos. As simple stories and carousels, they give you plenty of creative freedom to portray your brand in the best light.

Stories are also a brilliant addition to your influencer marketing campaigns to give your brand more visibility and raise brand awareness.

Optimal story image size:

Instagram profile picture size

This round profile picture might seem to be overshadowed by the entire collection of images on your page, but it’s equally important for portraying your brand properly.

Optimal profile picture size:

Instagram video size

As one of the most action-inspiring formats loved both by customers and marketers alike, videos on Instagram come in various forms.

Optimal video size:

Instagram ad size

Both the platform’s Explore option and newsfeed offer plenty of ad space. Considering how competitive this visual network is, you should choose only the highest quality photos for your Instagram ads so that your brand will stand out.

Optimal ad image size:

Pinterest Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Most images on this platform are vertical and informative, so following the recommended dimensions will facilitate more follower interest and involvement.

Pinterest image size

Your Pinterest board display is your most valuable asset on this platform to thrill your customers and keep them coming back to your page. The images you publish on your board should be stunning on their own but create a lovely composition when put together.

Optimal image size:

Pinterest profile picture size

Optimal profile picture size:

Pinterest board cover size

Brand consistency is the fundamental prerequisite for brand recognition and awareness. Use the board cover photo to display your brand’s most prominent qualities.

Optimal board cover size:

Pinterest pin size

Ideally, with a 2:1 aspect ratio, pins on Pinterest are vertical images perfect for product displays and helpful infographics. You can set up your own templates and publish them regularly, too.

Optimal pin size:

YouTube Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Focused on videos, many brands neglect the relevance of using first-rate images on YouTube. This leading video-sharing social network allows marketers to provide customers with useful content regularly, as long as you know how to promote your YouTube channel to reach more people.

For a unified image on this platform, be sure to use visuals that match the quality and substance of your videos.

YouTube thumbnail size

Every great video deserves a masterful video thumbnail to capture your audience’s attention. The right image will do the trick, but the right resolution will seal the deal.

Optimal thumbnail size:

YouTube banner size

A cover photo (or banner) comes with another nickname on YouTube, and it’s known as channel art. The most eye-catching visual on your thumbnail-packed page, this one should send the right message right off the bat.

Optimal banner size:

YouTube video size

To retain the quality of your videos and play them across all devices, stick to the 16:9 aspect ratio and choose the resolution according to your viewers’ preferences.

Optimal range of video sizes:

YouTube profile picture size

You can play around with the borders of your profile picture once you choose the right photo. Its circular shape matches the other social media networks’ style, strengthening your brand consistency.

Optimal profile picture size:

YouTube logo size

If you want to use your company logo anywhere on your YouTube channel, it’s best to use it as the profile image, which means it should follow the same guidelines from the previous section. Keep in mind that its round shape might crop some elements of your square logo, so make sure to position it properly to show off your logo in all of its glory.

Google My Business (GMB) Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Developing your local presence today hinges on local business directories such as Google My Business. Local reviews on GMB help improve your local reputation, and it’s an indispensable place for customers to find out who you are.

In addition to making sure that your NAP (name, address, phone) information is consistent and up to date, your visuals should be congruent with all other social channels you use.

Google My Business post image size

While the cover image is there to depict your brand on GMB, you can also add business images to feature your products, office, or employees.

Optimal post image size:

Google My Business logo size

The logo photo is perfect for immediate recognition, and the GMB page allows you to upload the logo image, with the exception of hotels and chains.

Optimal logo image size:

Google My Business cover photo size

Just like with other social media image sizes, the dimensions of your cover photo are the most important to choose carefully. The cover on your GMB profile page stands out, and it should illustrate your brand purpose.

Optimal cover photo size:

Google My Business video size

To give your customers a glance at your offices or any other vital aspect of your business, add a video to your GMB page.

Optimal video size:

WhatsApp Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

From customer support and follow-ups to sending personalized offers and promotions, WhatsApp has ample capabilities for business users. To recognize your brand quickly and not disregard the message when you send it, a customer needs to see an image that clearly portrays your business on WhatsApp.

WhatsApp profile picture size

You can stick to the tried and tested approach for choosing a photo that will be cropped well into a circular shape. It works well with your company logo or a clear image of your brick-and-mortar shop.

Optimal profile picture size:

Telegram Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Growing in popularity, especially among younger generations, Telegram is another chat service your business can use to communicate with customers.

Telegram profile picture size

Optimal profile picture size:

Telegram sticker size

This app has a great feature that allows you to send custom-made stickers to your customers.

Optimal sticker size:

Slack Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

A favorite chat app for most businesses to run their internal communications, Slack also empowers quick responses in customer interactions. It’s a great addition to your social media marketing efforts.

Slack profile picture size

The only image that matters on Slack is your profile picture. The size guide refers to all devices and operating systems.

Optimal profile picture size:

WordPress Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

WordPress featured image size

Featured images on the homepage come in portrait and landscape formats.

Optimal featured image size:

WordPress thumbnail size

With so much information available, thumbnails should help your visitor decide what your content is about and nudge them to take action. Choose thumbnails that truthfully represent the written portion of the content.

Optimal thumbnail image size:

WordPress background image

The header image on WordPress, or the background picture, immediately catches your visitor’s eye. Like other cover photos, this one should be powerful and true to your brand.

Optimal background image size:

Tumblr Image Sizes

This social platform might be dwarfed by other networks, but it’s still a valid space for professionals and businesses to generate leads and traffic.

Tumblr header photo size

The header or the banner photo is placed behind your profile image. Since it’s the most notable one on your page, choose a high-resolution picture.

Optimal header size:

Tumblr GIF size

GIFs can be up to 3MB in size, but the longer they are, the more difficult they are to load.

Optimal GIF size:

Tumblr image size

The images you post on Tumblr have a little more room, so you can choose images of higher quality for the dashboard view.

Optimal image size:

Tumblr icon size

When you share a link or a text post with an embedded image, select an icon of the right dimensions to give your followers a clear idea of what the post is about.

Optimal icon size:

Tumblr logo size

As is typical for business profiles and pages on social media, the logo image is the best pick for your profile picture.

Optimal logo size:

Twitch Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Every gamer’s favorite streaming platform, Twitch is a dynamic place for other businesses, as well. Customers might come to you for your streams, but you should pick out photos that tell your brand’s story well.

Twitch emote size

Unique to Twitch, emotes are specific emoticons that help gamers express themselves on the platform. You can create and use them as well to make your brand more relatable on Twitch.

Optimal Twitch emote size:

Twitch banner stream photo size

The header image dominating the screen, or the banner, is the best place for telling your followers what they can expect from your profile and streaming content.

Optimal banner size:

Twitch sub badge size

Gaming brands reward their loyal customers by handing out customized subscriber badges. Create them in the right sizes to entice followers to display them on their profiles proudly.

Optimal sub badge size:

SoundCloud Image Size

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Unlike YouTube, which is a video/audio platform, SoundCloud gathers aspiring musicians but also established bands and businesses. You can use it to publish podcasts or your own radio talk show, but also give an audio overview of your business.

SoundCloud profile picture size

A bit larger compared to other profile pictures, the SoundCloud image will also display in a round shape.

Optimal profile picture size:

SoundCloud banner size

Since you have limited opportunities to visually portray your brand on SoundCloud, choose a banner photo that does it best.

Optimal banner size:

SoundCloud artwork size

The cover is reserved for your entire channel, but your individual podcasts and albums have their own artwork to illustrate your audio content.

Optimal artwork size:

Spotify Image Sizes

Another platform proving the value of audio content, Spotify is a superb choice for posting podcasts and audio content of other forms. Just like with SoundCloud, use visuals to bring your audio content closer to your audience.

Spotify cover art size

Each album or audio piece you publish comes with a high-res image as its own artwork cover.

Optimal cover art size:

Spotify playlist image size

Setting up playlists means you can mix and match various types of audio content. You need a visual to tell your listeners what the playlist entails.

Optimal playlist image size:

Spotify banner size

The header image makes your channel more prominent, so use it to highlight what makes your brand authentic.

Optimal banner size:

Snapchat Image Sizes

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Creating ads, stories, as well as sending customized messages to customers are all viable options with Snapchat. Brands love it for building more close-knit bonds with their followers.

Snapchat ad specs

Whether you post short videos, animated GIFs, or images to advertise your brand, choose high-quality visuals.

Optimal ad specs:

Sponsored geofilter sizes

Local businesses cherish these geofilters. They help you attract local customers when they are near your store or event.

Optimal sponsored geofilter sizes:

Sponsored lenses sizes

Targeting the right customer groups and engaging them with sponsored lenses is much more fun. The resolution of the lenses will make them much more enticing for your customers.

Optimal sponsored lenses size:

Wrapping Up

You are now ready to customize all your visuals to meet the requirements of each platform. With your visuals taken care of, you should start monitoring your social performance and improve your content output accordingly.

Use this cheat sheet for social media image sizes to create stellar visual content and get more audience engagement.

Error handling

There will be errors when working with the API, and they must be correctly handled on the client.

An error is characterized by several parameters:

Numerical value similar to HTTP status. Contains information on the type of error that occurred: for example, a data input error, privacy error, or server error. This is a required parameter.

A full machine-readable JSON list of RPC errors that can be returned by all methods in the API can be found here », what follows is a description of its fields:

Error messages and error descriptions may contain printf placeholders in key positions, for now only %d is used to map durations contained in error messages to error descriptions.

There should be a way to handle errors that are returned in rpc_error constructors.

Below is a list of error codes and their meanings:

The request must be repeated, but directed to a different data center.

In all these cases, the error description’s string literal contains the number of the data center (instead of the X) to which the repeated query must be sent. More information about redirects between data centers »

The query contains errors. In the event that a request was created using a form and contains user generated data, the user should be notified that the data must be corrected before the query is repeated.

There was an unauthorized attempt to use functionality available only to authorized users.

Privacy violation. For example, an attempt to write a message to someone who has blacklisted the current user.

An attempt to invoke a non-existent object, such as a method.

Similar to 400 BAD_REQUEST, but the app should not display any error messages to user in UI as a result of this response. The error message will be delivered via updateServiceNotification instead.

The maximum allowed number of attempts to invoke the given method with the given input parameters has been exceeded. For example, in an attempt to request a large number of text messages (SMS) for the same phone number.

An internal server error occurred while a request was being processed; for example, there was a disruption while accessing a database or file storage.

If a client receives a 500 error, or you believe this error should not have occurred, please collect as much information as possible about the query and error and send it to the developers.

If a server returns an error with a code other than the ones listed above, it may be considered the same as a 500 error and treated as an internal server error.

custom dimensions are invalid after a reboot & activity probe is broken as well #411

Comments

MxKeks commented Aug 8, 2022

Now all rftools dimensions are declared as unknown in the rftools utilities dialing device.
Using the rftools dimensions command to teleport to the dimension doesnt do anything. It doesnt even return an error.
All of the Dimlets from the dimensions still display the correct information about the world (name, energy, etc.)

If I then use the dimlet and extract it an save it with the exact same dimlets and name, it reregisters the dimension.
After powering it up (energy is at 0 after the creation) the «old» matter receiver works again in the world.
Besides the old receiver it generates a new reciever on the same X and Z coordinates as the original one. The Z is usually below.

At this point it seems to work correctly again, however it doesnt. I have a Activity Probe in every dimension and it doesnt work anymore. Removing the Probe and placing it again at the same position or another one does not fix this issue. The Probe is permanently broken for the dimension.

Steps to reproduce:
I cannot reproduce it in another world. However after i created new dimensions with new names it was broken once more after the sceduled server reboot.

Clients are using Optifine, which also requires me to stay on this forge version, however optifine is only installed on the clients.
The server is not using Optifine.
I believe Optifine is not the problem in this case, because the server isnt even using it. It just limits the Forge version choice.

Possibly incompatible mods:

Relevant logs, if any:
i sadly dont know which logs are helping here, because the shouldnt be a crash log, since the server didnt crash.

The text was updated successfully, but these errors were encountered:

RuntimeError: shape ‘[8, 3, 17, 13, 13]’ is invalid for input of size 344760 #120

Comments

raghav157 commented Mar 5, 2019

i am trying to use it my own data set for this i have edited yolo cfg file, coco.data, coco.names but it showing this error
Traceback (most recent call last):
File «train.py», line 264, in
var=opt.var,
File «train.py», line 153, in train
loss = model(imgs.to(device), targets, batch_report=report, var=var)
File «/home/coeraghav/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py», line 489, in call
result = self.forward(*input, **kwargs)
File «/home/coeraghav/yolov3-master/yolov3-master/models.py», line 304, in forward
x, *losses = module[0](x, targets, batch_report, var)
File «/home/coeraghav/anaconda3/lib/python3.6/site-packages/torch/nn/modules/module.py», line 489, in call
result = self.forward(*input, **kwargs)
File «/home/coeraghav/yolov3-master/yolov3-master/models.py», line 154, in forward
p = p.view(bs, self.nA, self.bbox_attrs, nG, nG).permute(0, 1, 3, 4, 2).contiguous() # prediction
RuntimeError: shape ‘[8, 3, 17, 13, 13]’ is invalid for input of size 344760

what should i do

The text was updated successfully, but these errors were encountered:

glenn-jocher commented Mar 5, 2019

@raghav157 something is incorrect in your dimensions. Your cfg must not be aligned with your data and names file. Follow the directions in this tutorial:
https://github.com/ultralytics/yolov3/wiki/Train-Custom-Data

fadishaar84 commented Mar 23, 2019

@raghav157 Did you solve the error? I’m facing the same issue.

raghav157 commented Mar 23, 2019 •

Yes I have solve it https://github.com/ultralytics/yolov3/wiki/Train-Custom-Data
Follow this
Change filter size in cfg file according to your data classes, which is 255 by default

liqisa commented Mar 29, 2019

DeepLearning723 commented Aug 8, 2019

@liqisa Did you solve it?When I ran the train.py,I meet RuntimeError: shape ‘[128, 256, 1, 1]’ is invalid for input of size 18766.It’s very similar to your situation.I don’t know how to handle it.

ChiaquinLin commented Aug 19, 2019

@DeepLearning723 Have you solve this problem? I also meet the same question. I have search many pages but no pages tell about this. Can you help me? Thank you very much!

glenn-jocher commented Aug 19, 2019

@linjiaquan @DeepLearning723 @liqisa you are receiving these errors because your custom cfg files are not correctly formatted. Read and follow https://github.com/ultralytics/yolov3/wiki/Train-Custom-Data for correct instructions.

@liqisa your command works correctly without issue. It literally can not be any simpler:

allen108108 commented Nov 7, 2019

RuntimeError: shape ‘[32, 3, 3, 3]’ is invalid for input of size 255

glenn-jocher commented Nov 7, 2019

@allen108108 you always need to specify cfg along with weights:

allen108108 commented Nov 8, 2019

Thanks for answering.

I used yolov3-spp.cfg file and yolov3-spp.weights file but still got the same error.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

glenn-jocher commented Nov 9, 2019

@allen108108 I’m unable to reproduce your error. I get this. I suggest you git clone a fresh copy and try again, you may have custom changes causing the error.

It seems like you are using Windows BTW. We recommend unix. You can use a Colab instance for free:
https://colab.research.google.com/drive/1G8T-VFxQkjDe4idzN8F-hbIBqkkkQnxw

Mohamed209 commented Jan 25, 2020

wwcc1107 commented Mar 28, 2022

Footer

© 2022 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

I have created a data pipeline using tf.data for speech recognition using the following code snippets:

And my model is defined as below:

When I start training process this error appears after a few iterations:

3 Answers 3

Trending sort

Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.

It falls back to sorting by highest score if no posts are trending.

Switch to Trending sort

This error occurs because output of tf.shape(waveform) is greater than 16000. You need to increase 16000 to more than the value given by tf.shape(waveform).

I suggest adding the line print(tf.shape(waveform)) above, so you can see what it needs to be increased to.

I also got this same issue when I tried, check the frequency(sampling rate) of your wave file whether or not its 16000 or not, if no you could change it to 16000 using ffmpeg or any other tool.And still the issue remains same you can just check the sample count of your wave file (sample count should be 16000).

If not you can change either time duration or sample count as this three of them are related as sampling rate = sample count / time so even though your sampling rate decrease you sample count will decrease but it would be greater than 16000 if wav file is not 1 sec.

I have found that the issue happened in the padding step, I mean

PMT changed for the ROM it must be downloaded — как исправить ошибку

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

При прошивке смартфона на базе чипсета Mediatek через программу FlashTools, у пользователя может появиться следующее сообщение: «PMT changed for the ROM it must be downloaded». Если коротко описать причину данной ошибки, то она скрывается в неправильной разбивке разделов. Что же подразумевается под этим? Каждый смартфон, как и жесткий диск персонального компьютера, имеет свою разметку разделов. И если разметка на устройстве не соответствует тому, что находится в прошивке, то пользователь наблюдает ошибку «PMT changed for the ROM it must be downloaded». Еще одной причиной может стать повреждённая таблица разделов устройства.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Как исправить PMT changed for the ROM it must be downloaded

Попробуйте вместо привычного режима прошивки «Download Only» выбрать «Firmware Upgrade». Стоит правда отметить, что при использовании неправильной прошивки вы можете получить «кирпич». Также необходимо предварительно сохранить IMEI, поскольку после подобной прошивки он может слететь и ваши радиомодули перестанут определяться.

В программе FlashTools попробуйте выбрать режим «Auto Format Flash». Затем необходимо активировать пункт «download flash». При использовании данного способа прошивки, вам также потребуется дополнительно восстанавливать ваш IMEI.

Выключите ваш смартфон или планшет, затем запустите утилиту FlashTools. Выберите меню «Format» и нажмите клавишу «Start». Подсоедините к вашему ПК выключенное Android-устройство и дождитесь завершения процесса. После получения сообщения «Format OK» отсоедините девайс. Теперь перейдите на подраздел «Download», выберите Scatter loading file и нажмите на «Download». Вновь подключите аппарат, и начнётся сам процесс прошивки.

Запустите программу SP FlashTools, выберите Scatter loading file. Кликните на кнопку «Format», выберите вариант «formal all except bootloader». Теперь вы можете отформатировать аппарат и попробовать вновь прошить его.

Unable to process images with odd dimensions like 982×737 #979

Comments

onlyjob commented Jul 31, 2015

I’m trying to pull one frame per minute from the following URL:

I’ve adjusted image dimensions to 640×480 but zmc reports the following errors:

messageFileLine
Unable to decode jpegsrc/zm_remote_camera_http.cpp1151
Failed requesting writeable buffer for reading JPEG image.src/zm_image.cpp1011
Held buffer is undersized for requested buffersrc/zm_image.cpp330

Reproduced on recent «master» as of 7. 14 days ago.

Where can I find the buffer settings?
Can ZoneMinder process large JPEGs such as this one?
Any ideas how to fix this problem please?
Thanks.

The text was updated successfully, but these errors were encountered:

Comments

APA64IK commented Oct 9, 2020 •

What did you do?

What did you expect to happen?

Загрузка фотографии в альбом

What was the actual result?

Additional Info

Versions

packageversion
vk-io4.0.2
node12.18.3
npm6.14.6

The text was updated successfully, but these errors were encountered:

negezor commented Oct 12, 2020

Эта ошибка может быть связана с использованием apiMode: ‘parallel’
#171

APA64IK commented Oct 12, 2020

Footer

© 2022 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Sorry the image dimensions are invalid must be 640×360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Чтобы скачать приложение на свой смартфон- перейдите в магазин приложений на своем устройстве. Для андроида- Google Play, https://play.google.com/store/…​

Для устройств на IOS- App Store. Введите запрос в магазине: «Телеграм», или Telegram. https://itunes.apple.com/ru/ap…​

После установки приложения, вам нужно найти в его поисковой строке бота Фазэр. Пишется он вот так: @BotFather​ (символ @ при поиске ставить необязательно)

Находим его, кликаем на аватарку и в открывшемся в нем чате нажимаем кнопку «Начать» (или Start). После этого Бот Фазэр пришлет вам приветственное сообщение на английском языке. В этом сообщении перечислен список команд, которые доступны для работы с ботом. Это не должно вас пугать.

Просто выбирайте команду: /newbot​

На это бот пришлет вам следующее сообщение: «Alright, a new bot. How are we going to call it? Please choose a name for your bot.​»

Это означает, что пора выбрать Имя вашего бота. Не путайте имя бота с его линком (ссылкой, которую мы присвоим ему в следующем шаге. Имя может быть любым- это то, что будет в первую очередь бросаться в глаза, когда ваш клиент попадет в бота. Как правило, имя выбирают созвучным, или ассоциированным с названием вашего проекта/компании. Вы можете задать имя, как на руссом, так и на английском языке.

Написали имя и отправили боту?

Bot Father ответит вам таким сообщением: «Good. Now let’s choose a username for your bot. It must end in `bot`. Like this, for example: TetrisBot or tetris_bot.​»

Самое время присвоить для вашего бота ссылку (линк). Это нужно для того, чтобы мы могли дать возможность людям перейти в бота с вашего сайта (или площадки, на которой вы разместите ссылку)

Линк можно задать только на английском языке. Он не должен быть короче 4 символов (все короткие линки давно заняты)

Линк вы можете задать созвучным с вашем фирменным наименованием, или видом деятельности. Решение принимать вам.

Если вы выбрали свободный линк и сделали все верно, Бот Фазер пришлет вам такое сообщение:

Done! Congratulations on your new bot. You will find it at t.me/Manikurmskbot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you’ve finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this.

Use this token to access the HTTP API:
889665446:AAEImtF9NBRVZP3mL8r8DJIw2Va6H0n7g
Keep your token secure and store it safely, it can be used by anyone to control your bot.

Следующий шаг- это создание описания бота. Вернитесь к первому сообщению бота (в котором содержится перечень команд) и кликайте по команде /setdescription ​

Бот вернет вам вот такое сообщение: «Choose a bot to change description.​» Это значит, что вам следует выбрать созданного бота (его название вам будет прислано)

Почему бот Фазер предлагает вам выбрать бота?

Дело в том, что в Телеграм существует лимит созданных ботов на один номер телефона. Сейчас вы. можете создать 20 ботов на одной зарегистрированной сим- карте. Если вам потребуется больше ботов-больше-бооооольше, то просто зарегистрируете еще одну сим-карту и вам станет доступно создание еще 20 ботов.

Вы выбрали бота, чье описание хотите изменить?

Бот Фазер вернул вам вот такое сообщение, если вы все сделали верно:

«OK. Send me the new description for the bot. People will see this description when they open a chat with your bot, in a block titled ‘What can this bot do?’.​»​

Теперь осталось отправить ему в чат короткое описание вашего бота (подробно описано в видео).

Осталось оформить аватарку вашего бота. Для этого снова возвращаемся к первичному сообщению Bot Father и выбираем команду: /setuserpic ​

Действуем по уже знакомому сценарию: сначала выбираем бота, которому меняем аватарку (фото профайла), получаем от бота сообщение: «OK. Send me the new profile photo for the bot.​»

Далее отправляем ему уже заготовленную фотографию. Для этого она должна быть доступна на вашем компьютере (на смартфоне, если вы создаете бота с него)

В чате с ботом (место, куда мы вписываем сообщение) слева вы увидите «скрепку», на которую вам нужно нажать. Выбираем «Фото» и в открывшемся меню выбора фотографий выбираем на своем устройстве ту, которую хотим использовать.

Сервис, который позволяет обойти блокировку ссылок на вашего бота в Телеграм по ссылке: https://tlg.name​

Работает все просто. В открывшемся сайте вам доступно поле ввода своего линка (ссылки на вашего бота, в нашем примере ссылка на бота выглядела так: manikurmsk​bot​

Вставляем manikurmsk​bot​ в поле и система генерирует нам ссылку на нашего бота. Данную ссылку мы будем использовать далее.

The coordinates or dimensions of the range are invalid using variable

Using the following function to convert my date output to a Unix Timestamp, however I am receiving the following error:

The coordinates or dimensions of the range are invalid. (line 9, file «DateConversion»)

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

3 Answers 3

Trending sort

Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.

It falls back to sorting by highest score if no posts are trending.

Switch to Trending sort

You’re specifying 0 columns, change it to 1 or more. Also, what you’re trying to accomplish with a getRange inside an Loop? It’s mostly a bad decision, and rarely essential.

I encountered this problem when passing a 0 value as the column in GetRange. After doing some tests I am sure that the row and column values you pass to getRange starts from 1, not 0.

Here is my test code:

And in the logs, the value of row is logged:

So in my case, if you want to access the cell at A2, you have to call getRange(2,1,1,1);

iOS 14 Invalid frame dimension (negative or non-finite)

My App uses GeometryReader with some padding to setup a View frame dimension inside a NavigationView.

Since iOS 14 i get the following error message:

Invalid frame dimension (negative or non-finite)

Here is some example code to test:

Removing NavigationView fix the problem, but I need the current width and height of the container View inside the NavigationView.

7 Answers 7

Trending sort

Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.

It falls back to sorting by highest score if no posts are trending.

Switch to Trending sort

When I tested with macOS 11.1, I found that GeometryReader could not return the actual size immediately at the beginning of the view init, the size obtained for the first time was incorrect, maybe need to do a dispatch async operation to avoid this warning

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

I ran into the same issue. I didn’t get to the bottom of why being in a NavigationView causes this, but a workaround is to wrap the whole NavigationView in a GeometryReader and pass the GeometryProxy down the tree.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

or you can add something like

to your VStack (or whatever) to clearly say what dimensions you want.

edit strange this error will appear again, but not immediatly.

As Patric Fu states it is normally an initialization issue that generates the warning message «Invalid frame dimension (negative or non-finite).»

In my case this warning was generated on the following statement

When frameSide was generated with the following statement

Changing the above statement to provide a default value as below

Resolved the issue and the warning is not generated.

The condition within the Ternary operator would, of course, vary depending on the construction of the variable «frameSide». I found this a simpler approach than using a «dispatch async operation». This answer would be more likely to help if it was attached as a comment to Patric Fu’s original answer. However I have insufficient reputation to comment.

ValueError: ‘images’ must have either 3 or 4 dimensions. #9963

Comments

ammarahmedghani commented Apr 30, 2021

while testing my trained modal using opencv and tenserflow i run the following block of code
while True:
ret, frame = cap.read()
image_np = np.array(frame)

and I get the following error message with this warning message » :\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py:5: DeprecationWarning: Both axis > a.ndim and axis 6 detections = detect_fn(input_tensor)
7
8 num_detections = int(detections.pop(‘num_detections’))

\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\eager\def_function.py in call(self, *args, **kwds)
826 tracing_count = self.experimental_get_tracing_count()
827 with trace.Trace(self._name) as tm:
—> 828 result = self._call(*args, **kwds)
829 compiler = «xla» if self._experimental_compile else «nonXla»
830 new_tracing_count = self.experimental_get_tracing_count()

\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\eager\def_function.py in _call(self, *args, **kwds)
860 # In this case we have not created variables on the first call. So we can
861 # run the first trace but we should fail if variables are created.
—> 862 results = self._stateful_fn(*args, **kwds)
863 if self._created_variables:
864 raise ValueError(«Creating variables on a non-first call to a function»

\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\eager\function.py in call(self, *args, **kwargs)
2939 with self._lock:
2940 (graph_function,
-> 2941 filtered_flat_args) = self._maybe_define_function(args, kwargs)
2942 return graph_function._call_flat(
2943 filtered_flat_args, captured_inputs=graph_function.captured_inputs) # pylint: disable=protected-access

\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\eager\function.py in _maybe_define_function(self, args, kwargs)
3359
3360 self._function_cache.missed.add(call_context_key)
-> 3361 graph_function = self._create_graph_function(args, kwargs)
3362 self._function_cache.primary[cache_key] = graph_function
3363

\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\eager\function.py in _create_graph_function(self, args, kwargs, override_flat_arg_shapes)
3204 arg_names=arg_names,
3205 override_flat_arg_shapes=override_flat_arg_shapes,
-> 3206 capture_by_value=self._capture_by_value),
3207 self._function_attributes,
3208 function_spec=self.function_spec,

\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\framework\func_graph.py in func_graph_from_py_func(name, python_func, args, kwargs, signature, func_graph, autograph, autograph_options, add_control_dependencies, arg_names, op_return_value, collections, capture_by_value, override_flat_arg_shapes)
988 _, original_func = tf_decorator.unwrap(python_func)
989
—> 990 func_outputs = python_func(*func_args, **func_kwargs)
991
992 # invariant: func_outputs contains only Tensors, CompositeTensors,

\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\eager\def_function.py in wrapped_fn(*args, **kwds)
632 xla_context.Exit()
633 else:
—> 634 out = weak_wrapped_fn().wrapped(*args, **kwds)
635 return out
636

\AppData\Roaming\Python\Python37\site-packages\tensorflow\python\framework\func_graph.py in wrapper(*args, **kwargs)
975 except Exception as e: # pylint:disable=broad-except
976 if hasattr(e, «ag_error_metadata»):
—> 977 raise e.ag_error_metadata.to_exception(e)
978 else:
979 raise

ValueError: in user code:

The text was updated successfully, but these errors were encountered:

Comments

ppcD-er commented Mar 5, 2020

Added stickers to my pack on telegram.

an error stating «Sorry, the file type is invalid. Please convert your image to the.TGS format.»
Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

for my method in AE, I combined two compositions into a new composition (I call it A). When It shows the error I did a couple of test. The only test that allowed a successful upload of stickers to telegram was only if I deleted one of the compositions nested in composition (A).

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

It seems that error will occur when I have more than one composition with a new composition. Why is that so? How can I resolve this issue?

The text was updated successfully, but these errors were encountered:

Is is possible to use 360 Panorama(not equirectangular) in ARPortal? #340

Comments

abhi06991 commented Jun 28, 2018

I have 360 panorama images(not equirectangular) with sizes like (1290X640), but these images gets too much stretched when viewing inside the ARPortal. Is there any way to show only panorama? or may be restrict the user movements when user tries to see upwards or downwards so that he doesnt see the stretched part of the image?

The text was updated successfully, but these errors were encountered:

achuvm commented Jun 28, 2018

Unfortunately, there’s no way around this if you want to use the Viro360Image component. Something that you can maybe consider doing is if you don’t have too many assets, you can manually pad your images with extra alpha pixels, although, 1290×640 is very close to the 2:1 ratio that most 360 photos should be in.

We do plan on supporting semi-circular/spherical images in the future however, but there’s no good way to do this on the platform at the moment.

abhi06991 commented Jul 3, 2018

Is it possible to integrate it in viro-react?

Personally, I like this platform and dont want to complicate things. When can we expect this feature in Viro-react?

achuvm commented Jul 3, 2018

Thanks for clarifying the image dimensions.

One option you can do right now is to create a curved surface object (.obj) and then use Materials to texture the object. This is effectively what happens when you «display» a 360 image; the provided image is textured onto a spherical object/geometry.

To your point about React-360, they too only support 360 or 180 equirectangular projections (as per your link).

We’ll look into adding support for non-360 panorama photos/videos for our next release (we don’t yet have a concrete date for that).

abhi06991 commented Jul 14, 2018

Thanx for the suggestion. I have few doubts,

achuvm commented Jul 16, 2018

dam00n commented Aug 7, 2018

Closing this issue due to inactivity. If you are still experiencing issues, please re-open with additional comments so we can investigate further.

Footer

© 2022 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Got invalid dimensions for input #238

Comments

eanemo commented Oct 22, 2020

Question

I am trying to use a model for segmentation that I have exported to ONNX format. I have tested the model in this format previously on Python code and works fine. However if I try to use the ONNX model using DJL Java code I obtain a invalid dimension error for the input of the model. I have checked that the image size is correct. So, I am using a custom transform class that I am using in the pipeline. The code I am using is the following:

`public class CustomTransform implements Transform <

The error I am getting is:

However in the log I obtain the following messages:

Why I am getting the error if the shape appear to be correct after applying the custom transform. The pipeline is correctly build and the custom transform is also well added to the pipeline.

Thank you in advance.

The text was updated successfully, but these errors were encountered:

lanking520 commented Oct 22, 2020 •

@eanemo Hi, the default outcome from our image loader are HWC (Height, width channel) format. ToTensor will make it to CHW It seemed you may double calling toTensor somewhere. Can I take a look at your complete translator code.

Another question is, which operator did you use to create the source NDArray (the one you feed in the custom transform)

eanemo commented Oct 23, 2020

I obtain the image from an inputStream like that:

I have changed to default ToTensor() transform and I get the same error. The problem is that if I debug the code, the translator does not execute the code in the processOutput method, so I think that the problem is not in the translator. The full code that load and executed the model is the following:

The error comes out in the «Mask mask = predictor.predict(image);» line, and I does not manage to debug intermediate code, so I think that the problem is not in the translator.

Thank you in advance.

lanking520 commented Oct 23, 2020

You can also share me the model you try to on inference on, I can write some sample code to help you out

lanking520 commented Oct 23, 2020

Change the default ToTensor doesn’t help much since it is also calling toTensor() below. The issue is you may call this toTensor() method twice in your preprocessing step. I would recommend to use some IDE (e.g IntelliJ) and use debug mode to dig in and see what NDArray operation are being done.

eanemo commented Oct 25, 2020

You can also share me the model you try to on inference on, I can write some sample code to help you out

Что означает ошибка SyntaxError: invalid syntax

Когда Python не может разобраться в ваших командах

Ситуация: программист взял в работу математический проект — ему нужно написать код, который будет считать функции и выводить результаты. В задании написано:

«Пусть у нас есть функция f(x,y) = xy, которая перемножает два аргумента и возвращает полученное значение».

Программист садится и пишет код:

Но при выполнении такого кода компьютер выдаёт ошибку:

File «main.py», line 13
result = x y
^
❌ SyntaxError: invalid syntax

Почему так происходит: в каждом языке программирования есть свой синтаксис — правила написания и оформления команд. В Python тоже есть свой синтаксис, по которому для умножения нельзя просто поставить рядом две переменных, как в математике. Интерпретатор находит первую переменную и думает, что ему сейчас объяснят, что с ней делать. Но вместо этого он сразу находит вторую переменную. Интерпретатор не знает, как именно нужно их обработать, потому что у него нет правила «Если две переменные стоят рядом, их нужно перемножить». Поэтому интерпретатор останавливается и говорит, что у него лапки.

Что делать с ошибкой SyntaxError: invalid syntax

В нашем случае достаточно поставить звёздочку (знак умножения в Python) между переменными — это оператор умножения, который Python знает:

В общем случае найти источник ошибки SyntaxError: invalid syntax можно так:

Практика

Попробуйте найти ошибки в этих фрагментах кода:

Qml Item grabToImage save image error

But I’m getting the following error.

This is because I’m using height and width properties like so:

The only time that I can get the following code working is when I put in a static heigth and width:

Any ideas of why and how do I get around this problem?

1 Answer 1

I’m not a 100% sure why, But it was something about the dynamic width of the parent.

In the program I wrote I has set the anchors of the image to the left and right of the preview container.

So when I tried to get the image capture from another item that was overlaying the image to cut out smaller parts of the image it was not letting me. How I fixed this was to set a fixed image size of the source image and then just anchor it to the center of the preview section.

The only thing is now it will not size up if you scale the window. I’m sure I could implement and on size change to the main program window and then set the width of the image (Not tested).

Impossible to upload screenshot for Mac app auto-renewing subscription in-app-purchase item in iTunes Connect

This feels like an iTunes Connect bug, but maybe I’m doing something wrong. I’m trying to create auto-renewing subscription in app purchase items for my Mac app to start testing the subscription sign up flow in my app.

I’ve created an app in iTunes Connect. In the Features tab I’ve created various in-app-purchase items with different prices and duration in a single subscription group. So far so good.

I filled out all the required information, but all of my items are stuck in the «Missing Metadata» state, so I don’t appear to be able to test them yet. The only thing I haven’t filled entered is a screenshot and review description (why those would be needed for testing since they are review related, I’ll never know).

However, when I try to upload a screenshot, it appears to be impossible. The help text says «We’ll only use the screenshot for our review—it will not be displayed on the App store. Screenshots must have valid dimensions for your app platforms.» However, it unhelpfully doesn’t specify the resolution I need. If I try to upload any image, I get an invalid size error and it tells me it must be 640×920 (seems suspiciously like an iOS resolution, not an OS X resolution. ).

When I try to upload a screenshot from my app with a 640×920, it works, but when I hit save I get the following error:

«You must upload a valid screenshot.»

There is no indication of what constitues a valid screenshot or what was wrong with the screenshot I used.

Two questions for anyone that may know the answer:

1. Is a screenshot necessary for testing or am I in the metadata missing state for some other reason?

2. Is this a bug in iTunes Connect?

Right now this is completely stopping me from doing any subscription testing, so it’s very frustrating.

Images dimensions error in python

Trying to match two images to find out the scores between them.But it shows some dimension error.Unable to fix the issue.My code is given below:

This give n an error:

How to fix this issue?

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

3 Answers 3

Trending sort

Trending sort is based off of the default sorting method — by highest score — but it boosts votes that have happened recently, helping to surface more up-to-date answers.

It falls back to sorting by highest score if no posts are trending.

Switch to Trending sort

Amending Saurav Panda’s answer:

You can reshape one of the images to the size of other image like this:

the cv2.resize function inputs expects (W,H). This is the reverse order of the output of cv2.shape (H,W), so you need to catch that, or you’ll get the same error when comparing non-square images.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

You can do this in many ways:

Like in the first method, you can assign a fixed dimension which would be less than the actual dimensions of the image and resize both images to this same size. Like, resize all images to (150,150), etc.

In second method you can reshape one of the images to the size of other images. Try this code:

Как поменять разрешение в игре не заходя в игру

Практически каждая компьютерная игра поддаётся изменению настроек без графического интерфейса. Для этого существуют специальные конфигурационные файлы в её папке с файлами. Но без инструкции разобраться в них сможет не каждый пользователь. В этой статье вы узнаете, каким образом можно без входа в игру изменить её разрешение.

Устранение проблем с разрешением в играх

Смена разрешения часто бывает необходима, когда программа самостоятельно не может установить нужные параметры для вашего экрана. Или после их применения экран ведёт себя странно — скрин с игрой смещён в одну из сторон. Или часть картинки с игрой заходит за пределы монитора.

Для таких случаев необходимо сделать следующее:

Используйте этот метод при любых проблемах, связанных с настройками экрана в играх. Он также сможет вам помочь в том случае, если у вас устаревшее устройство, для которого параметры разрешения применяются некорректно.

Изменение конфигурационных файлов игры

Следующий способ изменения разрешения не является универсальным. А для каждой игры конфигурационные файлы вам придётся искать самостоятельно. Ведь для их названия нет каких-либо стандартов. И каждый разработчик может именовать их по своему усмотрению. Поэтому включайте свою интуицию и открывайте папку с игрой, куда вы её устанавливали.

Если вы не знаете, где находится папка:

Итак, папку мы нашли. Теперь необходимо в ней отыскать файл, в котором мы сможем вручную указать разрешение:

Попробуйте запустить игру с новыми параметрами. Если вы сделали всё правильно — она будет отображена в установленных вами значениях ширины и высоты экрана.

Как поменять разрешение при помощи иконки, не заходя в игру

Не обязательно копаться в папке с игрой, чтобы изменить разрешение, в котором она будет запускаться. Вы можете использовать иконку и её настройки, чтобы сделать задуманное.

Для этого выполните следующие действия:

Дописывать параметр нужно после имеющихся символов

Теперь запустите игру, чтобы проверить, что настройки разрешения изменились. И у вас получилось это сделать, не заходя в игру. Если ничего не вышло, переходим к следующим способам. А в строке, где мы задавали параметры экрана вручную сотрите добавленные символы и снова сохраните изменения.

Изменение параметров в отдельных настройках

Некоторые популярные игры имеют отдельный модуль с настройками клавиатуры, экрана, графики и прочего. И после установки на рабочем столе появляется не только значок игры, но и настроек. В этом случае вам не нужно искать конфигурационные файлы в папке или прописывать вручную параметры разрешения при помощи иконки.

Запустите этот блок и найдите нужные параметры:

Это не обязательно должен быть блок с настройками. Иногда инсталлятор игры предлагает нам сменить настройки графики и разрешения при запуске.

Редактор реестра для настройки игры

При помощи редактора реестра Windows мы также имеем возможность изменить параметры разрешения в игре. Но и этот способ не является универсальным. Так как не все игры оставляют конфигурационные данные для редактирования в реестре.

Чтобы его запустить в Windows:

После этого закройте окно редактора реестра и запустите игру. Возможно, необходима будет перезагрузка компьютера, чтобы параметры вступили в силу.

Смена разрешения через ПО видеокарты NVIDIA

Для каждой видеокарты необходимо устанавливать драйвер — об этом знают все (или почти все) пользователи. Но многие могут не знать, что часто с драйвером новых моделей устанавливается дополнительный графический интерфейс. Который позволяет изменять разрешение монитора для игр.

Для компьютеров с видеоадаптером NVIDIA есть возможность открыть панель управления прямо с рабочего стола:

Таким же образом можно изменить параметры разрешения на компьютерах с установленной видеокартой AMD Radeon. Нажмите на рабочем столе ПКМ на пустом месте без иконок и выберите «Настройки Radeon».

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Универсальная программа для смены разрешения в играх

В интернете можно найти массу удивительных и полезных программ, которые разработали независимые программисты. В вашем случае будет полезна утилита под названием « Res-o-matic ». Скачать её можно совершенно бесплатно по ссылке http://www.bcheck.net/apps/reso.htm.

Размер программы всего 19 килобайт. И этот крошечный инструмент поменяет любое разрешение практически в любом мониторе и игре, не заходя в игру. Работать с ней очень просто. После запуска вы увидите строку с кнопкой «Browse». Нажав её, нужно выбрать вашу игру из списка установленных приложений. Затем ниже выберите для неё разрешение. Сохраните настройки и запускайте игру, для которой изменили параметры.

Ошибка 400 с ошибкой при отправке сообщения с помощью программы Telegram Bot

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360Порой при работе с мессенджером Телеграмм онлайн его пользователи могут столкнуться с такой ситуацией, когда им приходит уведомление, сообщающее о возникновении какой-либо ошибки или проблемы. При этом стоит помнить о том, что ошибки в Телеграмм имеют разную природу и структуру. И поэтому необходимо их различать, чтобы вы оперативно смогли сориентироваться и найти выход из сложившейся ситуации, продолжив работу с приложением. В данной статье мы расскажем о наиболее распространенных ошибках Telegram и о том, как вы можете их устранить. Как мы уже отмечали ранее, перед тем как разбираться в возникшей проблеме или ошибке, нам необходимо различать их. Так, условно мы можем разделить все проблемы в Телеграмм на 3 основные категории:1. Уведомление об ошибке. Проблемы такого типа решаются легче всего, так как приложение Telegram, выдавая уведомление об ошибке, обычно указывает в чем заключается проблема в виде текстового или числового кода.2. Отказ при запуске мессенджера. Здесь уже ситуация посложнее, однако существет 2 основные причины, по которым приложение отказывается запускаться: либо это по проблемы на сервере Telegram, либо из-за отсутствия одного из системных файлов в устройсвте.3. Сбой в работе Телеграмм. Сюда можно отнести ошибки непонятного происхождения, при которых приложение функционирует не совсем правильно, либо выдает какой-то сбой во время его работы.1.Уведомление об ошибке.Наиболее распространенные уведомления об ошибке в виде числовых кодов в мессенджере Телеграмм:Error 303 – Некорректная обработка данных при работе с API (Application Programming Interface – программный интерфейс приложения).Error 400/401/403 – Внутренние проблемы.Error 500 – Неполадки сервера.Наиболее распространенные уведомления об ошибке в виде текстовых кодов в мессенджере Телеграмм:AUTH_KEY_UNREGISTERED – ключ авторизации не зарегистрирован;AUTH_KEY_INVALID – ключ авторизации является недействительным;FIRSTNAME_INVALID: неправильное имя пользователя;LASTNAME_INVALID: неправильная фамилия;PHONE_NUMBER_INVALID: неправильно введен номер телефона;PHONE_NUMBER_OCCUPIED: телефонный номер уже используется;PHONE_CODE_EXPIRED: срок кода подтверждения истек;PHOTO_INVALID_DIMENSIONS: размер изображения является недопустимым;SESSION_REVOKED: авторизация признана недействительной, потому что один из пользователей завершил все сессии;SESSION_EXPIRED: время сессии истекло;USERS_TOO_FEW: количество участников недостаточное;USERS_TOO_MUCH: превышен максимальный лимит участников, например, в групповом чате;USER_DEACTIVATED: контакт удален или находится в процессе деактивации. Все вышеперечисленные текстовые коды являются внутренними ошибками, которые могут быть связаны с неправильной авторизацией, либо с некорректным использованием функциональных возможностей приложения Telegram.2. Отказ при запуске мессенджера. Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360Отказ при запуске мессенджера Телеграмм является, пожалуй, одной из самых распространенных проблем. Для того, чтобы разобраться в чем заключается проблема, вам для начала необходимо определить, к какой из категорий относится ваш случай:1) При запуске появляется окно с надписью “Connecting” (соединение). В данном случае проблема заключается на серверах приложения, и на данный момент вы ничего не сможете с этим сделать. Попробуйте запустить приложение чуть позже или войти через веб телеграмм.2) При запуске появляется окно приветствия Start Messeging, но потом ничего не происходит. Если проблема запуска приложения появилась у вас на ПК, то попробуйте убедиться, правильную ли вы скачали версию для своей ОС, так как при скачивании приложения Телеграмм вам предлагается выбрать определенную версию. К примеру, для ОС Windows 10 нужна версия приложения, предназначенная именно для нее, потому как другая просто не отобразится. Если же после проверки, вы убедились в том, что вы скачали правильную версию приложения, то попробуйте переустановить (скачать заново) приложение Телеграмм, при этом полностью уничтожив все его. Кроме того, еще одной причиной запуска приложения на ПК, может стать антивирус, установленный на вашем компьютере. Попробуйте отключить его временно, а затем снова запустить мессенджер от имени администратора.3. Сбой в работе онлайн Телеграмм. Одним из наиболее распространенных сбоев в работе веб телеграм является невозможность отправки, либо получения сообщений пользователям. Здесь тоже есть свою нюансы. К примеру, если вы хотите отправить сообщение контакту, который отсутствует в списке ваших контактов в приложении, то вам скорее всего придет уведомление со следующим текстом: «Sorry, you can only send messages to mutual contacts at the moment» («К сожалению, вы можете отправлять сообщения только взаимным контактам»). Такое ограничение было введено разработчиками Telegram, в связи с жалобами клиентов на навязчивость или спам со стороны неизвестных им аккаунтов. Помимо этого, проблемы с отправкой, либо с получением сообщений в Телеграмм часто возникают при использовании секретного чата. Полагают, что этот уникальный алгоритм, написанный специально для секретного чата мессенджера, работает не идеально, бывают и сбои. Однако и с обычными или групповыми чатами может порой случаться сбои подобного рода. Устранить подобную ошибку можно при помощи отключения всех сторонних модов и плагинов, установленных на вашем устройстве. После этого перезапустите приложение Телеграмм. Кроме того, в работе с приложением может возникнуть и такая проблема, как “В приложении Telegram online не изменяется время”. Зачастую подобная ошибка связана с некорректно установленным временем на вашем устройстве. Для того, чтобы устранить эту ошибку на смартфоне, в настройках устройства найдите пункт под названием “Дата и время”, отметьте галочкой пункт «время по сети» («время по интернету», «синхронизировать по сети», “автонастройка даты и времени”), а также убедившись в том, что выбран правильный часовой пояс. Если подобная ошибка произошла у вас на ПК, то ее можно устранить следующим образом: в панеле задач щелкните на “Дату и время”, в появившемся окне нажмите на пункт “Изменение настроек даты и времени”, затем во вкладке «Время по Интернету» нажмите на “Изменить параметры…”, в появившемся окне поставьте галочку на “Синхронизировать с сервером в Интернете”.Если вы столкнулись с блокировкой телеграм, то переходите на веб версию мессенджера – Онлайн телеграмм на русском языке, с бесплатным встроенным прокси для обхода блокировки телеграмм в России, фильтрацией друзей, диалогов каналов, групп и ботов по вкладкам как в плюс мессенджере.

ОТКРЫТЬ ВЕБ ТЕЛЕГРАММ ПРЯМО СЕЙЧАС

Комментарии (47)ТЕЛЕГРАММ СТАТЬИ:Как поменять звук телеграмма?Как настроить телеграмм?Два телеграм аккаунта на одном айфонеУ меня телеграмм не блокируется в России, почему?Что делать в телеграмме?Как скачать Телеграмм и нужно ли это, когда есть Web Telegram?Как найти группу в телеграмме?Вопросы и ответы о мессенджере TelegramКак в телеграмме изменить аватар и настройки профиля?

Telegram, будучи самым популярным мессенджером, имеет огромную аудиторию пользователей. В телеграме можно общаться сообщениями, передавать аудио и видео, а также ввести групповую беседу. Но порой встречаются проблемы в работе приложения:

Давайте же разберемся в главном вопросе: «Почему телеграмм может перестать работать?»

Ошибки в телеграмме и их устранение

В Telegram, как и в любом мессенджере или социальной сети иногда появляются сбои. Не стоит паниковать, для решения проблем нужно выяснить, из-за чего они появились:

Хотите знать универсальное решение всех проблем до момента их возникновения? Тогда переходи на Web Telegram и общайтесь на русском сайте через браузер. В веб телеграмме практически не возникает помех, не говоря уже о прокси сервере, который обходит блокировку не создавая сбоев в работе мессенджера.

Комментарии (9)Телеграмм онлайн:Официальный веб телеграмм онлайн на русском языкеКак создать телеграмм канал?Почему телеграмм не открывается на Андроид?Режим инкогнито для входа в веб телеграмм онлайнКак исправить ошибки в ТелеграммеОблако – хранилище в телеграмм онлайнеTelegram FAQ – популярные вопросы для новых пользователейКак связаться со службой поддержки телеграмма? Телеграмм не работает!Как навсегда удалить аккаунт телеграммаВ последнее время большинство пользователей телеграмма получают ошибки или проблемы, при попытки входа в аккаунт. Надо знать что ошибки бывают разные, у каждой своя структура и предназначение. Вы должны уметь их различать, чтобы быстро решить проблему и возобновить работу приложения. Сегодня вы узнаете о большинстве ошибок

Как мы уже отмечали ранее, перед тем как разбираться в возникшей проблеме или ошибке, нам необходимо различать их. Так, условно мы можем разделить все проблемы на 3 основные категории:

1. Уведомление об ошибке.Проблемы такого типа решаются легче всего, так как приложение, выдавая уведомление об ошибке, указывает на причину возникновения проблемы в виде текстового или числового кода.2. Отказ запускать Телеграмм мессенджер. Существует 2 основные причины, по которым приложение отказывается запускаться: либо технические работы на сервере, либо приложение было установлено неправильно.3. Сбой в работе.Сюда можно несовсем понятные ошибки, при которых приложение работает не совсем правильно, либо выдает какой-то сбой во время его работы.

1.Уведомление об ошибке. Наиболее распространенные уведомления об ошибке в виде числовых кодов: Error 303 – Некорректная обработка данных при работе с API (Application Programming Interface – программный интерфейс приложения). Error 400/401/403 – Внутренние проблемы. Error 500 – Неполадки самого сервера Телеграмм.

Наиболее распространенные уведомления об ошибке в виде текстовых кодов, их называют Внутренними проблемами: AUTH_KEY_UNREGISTERED: ключ авторизации не зарегистрирован; AUTH_KEY_INVALID: ключ авторизации является недействительным; FIRSTNAME_INVALID: неправильное имя пользователя; LASTNAME_INVALID: неправильная фамилия; PHONE_NUMBER_INVALID: неправильно введен номер телефона; PHONE_NUMBER_OCCUPIED: телефонный номер уже используется; PHONE_CODE_EXPIRED: срок кода подтверждения истек; PHOTO_INVALID_DIMENSIONS: размер изображения является недопустимым; SESSION_REVOKED: авторизация признана недействительной, потому что один из пользователей завершил все сессии; SESSION_EXPIRED: время сессии истекло; USERS_TOO_FEW: количество участников недостаточное; USERS_TOO_MUCH: превышен максимальный лимит участников, например, в групповом чате; USER_DEACTIVATED: контакт удален или находится в процессе деактивации.

Самая основная проблема – отказ при запуске.

У меня есть Telegram Bot для сотрудников компании, которая позволяет администраторам отправлять сообщения всем сотрудникам (более 10 тыс. Пользователей). Список всех сотрудников chat_id хранится в базе данных и с помощью определенной команды admin может отправлять сообщения всем пользователям.

Проблема в том, что администратор отправляет сообщение всем сотрудникам, которое будет отправлено некоторым пользователям (очень первые пользователи в цикле для всех пользователей), но он столкнется с ошибкой 400 (неудачный запрос) для других пользователей (ошибки записываются в файл).

Я использую объект С# Webrequest, и я разделяю список пользователей на 100 пользователей. После отправки сообщения пользователю 100 пользователь переходит к следующим 100 пользователям.

Кто-нибудь может мне с этим помочь? В общем, это хороший способ отправить массовые сообщения с боттом телеграмм?

У меня такая же проблема, как и вы. Я передал одно сообщение, и после 2-3 тысяч пользователей мой сервер сообщил об ошибках 400 (Плохой запрос). НО это не повлияло на доставку сообщения. Сообщения, казалось, поступали должным образом (я мог только спрашивать некоторых получателей, но все они получили сообщение).

Telegram не содержит жестких ограничений, но это официальное руководство: https://core.telegram.org/bots/faq#broadcasting-to-users

В Telegram указано, что если вы достигнете предела сообщений/времени, вы получите ошибку 429.

В общем, я просто получил дополнительный поток, который отправляет 50 сообщений, а затем ждет 5 секунд, что, вероятно, немного перестрастно.

java.lang.IllegalArgumentException: Invalid map dimension: 11 #47

Comments

Dymeth commented Jan 27, 2020 •

When the plugin starts, a large number of messages are displayed like:
[MapManager] Adding new Map # 154 to occupied IDs.
[MapManager] Adding new Map # 155 to occupied IDs.
.
[MapManager] Adding new Map # 245 to occupied IDs.
[MapManager] Found 227 occupied IDs.

Perhaps the problem is that today the server upgraded from version 1.13.2 to version 1.14.4, and then immediately to 1.15.2

It would be great:
a) To fix loading errors
b) To get rid of spam in the console

about PacketListenerAPI
PacketListenerApi version 3.7.5-SNAPSHOT
Author: inventivetalent

about MapManager
MapManager version 1.7.7-SNAPSHOT
Author: inventivetalent

about AnimatedFrames
AnimatedFrames version 4.11.4-SNAPSHOT
Author: inventivetalent

about
This server is running Paper version git-Paper-79 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
Checking version, please wait.
Previous version: git-Paper-243 (MC: 1.14.4)
You are running the latest version

The text was updated successfully, but these errors were encountered:

Как поменять разрешение в игре, в т.ч., даже не заходя в неё (если вылетает ошибка, или вы ничего не видите при ее запуске)

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Подскажите, что делать, как настроить разрешение без входа в игру? Ну или хотя бы его сбросить как-то.

В общем, ниже приведу несколько вариаций подобной проблемы, и что с ней можно сделать. И так. 👌

Как узнать и поменять разрешение экрана в Windows — пошаговая инструкция

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Устанавливаем комфортное разрешение

👉 Вариант 1: в настройках 3D-приложения (если игра работает и «что-то» отображает)

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Меняем параметры видео в игре

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Насчет масштабирования

Из-за неправильного переопределения масштаба запускаемого 3D-приложения (игры) — может появиться достаточно неприятная проблема: изображение просто не впишется в экран (см. пример ниже 👇).

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Изображение просто не вписывается в экран (два фото на одном и том же экране). Игра Civilization IV (2004 г.)

Если у вас наблюдается что-то подобное: откройте свойства запускаемого приложения (можно кликнуть ПКМ по значку на рабочем столе).

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Переопределить режим масштабирования (для приложения)

После этого «проблемная» игра (3D-приложение) должна начать работать в норм. режиме! 👌

Почему изображение игры не помещается на экран монитора (невидно часть изображения, какое-то неправильное масштабирование)

👉 Вариант 2: не заходя в игру (если вылетает ошибка, или вы ничего не видите при ее запуске)

В некоторых играх можно случайно установить слишком низкое/высокое разрешение и из-за этого в последствии становится очень трудно вернуть настройки назад (т.к. часть экрана уже не видна 👀 и на пункты меню нельзя навести мышкой).

В этих случаях порекомендую следующее 👇.

Переустановить игру

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Важной момент!

При удалении игры важно сделать так, чтобы от нее не осталось «хвостов» (различных записей в реестре, конфигурационных файлов и пр.). Всё это удалить начисто помогает 👉 утилита Uninstaller.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Как удалить программу в IObit Uninstaller — просто выделите нужное приложение, и нажмите по значку корзины

Через свойства ярлыка

Некоторые игры достаточно легко можно «заставить» запускаться в нужном разрешении с помощью их ярлычка на рабочем столе. 👌

Для этого требуется сначала открыть свойства нужной игры (в своем примере взял CS 1.6).

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Добавляем в строку объект нужные нам параметры

После, останется сохранить настройки и попробовать запустить приложение.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Использовать разрешение 640 на 480

В Steam

-autoconfig (сброс настроек графики и производительности)

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Настройки Steam — установки параметров запуска

Далее игра будет запущена в указанном разрешении (см. 2 фото ниже, разница видна невооруженным глазом).

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Поменяли разрешение в Steam

Примечание: способ работает не со всеми играми.

Через видеодрайвер (GeForce Experience)

Если вы обладатель видеокарты от nVidia — то у вас есть возможность установить утилиту 👉 GeForce Experience (ссылка на офиц. сайт) и в ней отрегулировать часть параметров игр (в том числе и разрешение).

Делается это достаточно просто: после запуска GeForce Experience, нужно (👇):

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

GeForce Experience — скриншот настроек — разрешение

Как открыть настройки видеокарты: AMD, nVidia, Intel (не могу найти панель управления графикой)

С помощью изменения файла конфигурации

Свои данные игры обычно хранят в конфигурационных файлах (формата «ini», например). И если узнать, где у конкретной игры расположен этот файл конфигурации (например, с помощью тематических форумов) — можно поменять многие ее графические параметры.

Для примера я взял популярную игру Fortnite. Файл с настройками игры расположен здесь:

где, alex — имя учетной записи

Разумеется, его можно открыть с помощью обычного блокнота.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Открыть с помощью блокнота

Далее в документе нужно найти строки с «Resolution. « (в переводе с англ. — «разрешение») и установить свои цифры. 👇

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Файл конфигурации «ini» для игры Fortnite

Собственно, после сохранения документа — можно запускать игру с новыми параметрами ( важно : если вы установите не поддерживаемое разрешение — игра можно автоматически его переопределить. ).

С помощью спец. утилиты (для старых игр)

Если вы столкнулись с низким разрешением в какой-то старой игре (Civilization, Doom, Call of Duty и пр.) — рекомендую попробовать утилиту 👉 Game WideScreener.

Она «знает» о существовании множества старых популярных игр и помогает в 2 клика мышки установить новое разрешение (см. примеры ниже).

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

До и после — сравните разницу картинки // игра «Цивилизация 3»

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Game WideScreener — пример работы

Кстати, если вы имеете дело со старыми играми, возможно вам стоит также установить на ПК виртуальную машину (с нужной ОС) и уже в ней запускать эти 3D-приложения. Ссылка ниже в помощь. 👇

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Здравствуйте, может быть, вы мне поможете?

Я играю в игру WSC REAL 2009. Так вот, на прежнем компьютере у меня было разрешение экрана нормальное в этой игре, то есть квадратное и все элементы игры отображались адекватно. Но вот недавно у меня появился новый компьютер на Windows 10, видюха GeForce 1030. Игра запускается и работает без проблем. Но!

Теперь изображение в игре немного растянуто, из-за чего играть некомфортно. Я пробовал менять разрешение экрана на требуемое, пробовал менять и в панели Nvidia. Ничего не получается, игра всё равно растянута немного. Иными словами, у меня проблема наоборот: как ужать разрешение в игре и сделать его квадратным?

@Alexandr, не вижу опции Ответить на ваш комментарий, поэтому пришлось отвечать на свой же комментарий, чтобы вы увидели :

1. Да, на рабочем столе все ок. Разрешение стандартное 1366×768 (у меня монитор АOC E970Sw 19 дюймов. Проблема именно с отображением разрешения в этой игре. А вот в игре Serious Sam 3: BFE все отображается нормально. А вот эту игру, о которой упоминал выше WSC Real 2009, монитор все равно растягивает до стандартного разрешения. Дело в том, что в свое время я играл в эту игру на старом компьютере с видеокартой GeForce Palit GTS 250. И все было нормально. Потом был комп с видеокартой GT730, но она вообще игру не тянула. И это при том, что игра совершенно старая. Нынешняя видюха игру тянет спокойно, плюс и оперативки достаточно (16 гб, на старом было всего 4), но напрягает растянутость изображения.

2. Кстати, я лазил в инете в поисках (возможных) решений проблем и в масштабирование тоже лазил, но (если все делал правильно) не помогло.

Здравствуйте.
А родное разрешение у нового монитора 1920×1080?
И слово «туман» слишком трудно понять на слух, есть фото, что вы имеете ввиду под этим?

Здравствуйте.
У меня проблема: я играл в аркс фаталист и сделал слишком сильное разрешение, из-за чего не могу его поменять, а функции ярлыка у меня нет. Я на Windows 10 про. Что делать?

Здравствуйте. Незнаком с игрой. Попробуйте переустановить (или удалить папку из моих документов // могут пропасть сохранения. ).

Здравствуйте, Александр!
Ищу Вашей помощи! Проблема нигде не описанная: разрешение запускаемой игры очень мало, приблизительно 120Х60, нажимаю Alt+Enter (полноэкранный режим) все переходит, полагаю даже играть можно, но все надписи очень размыты, нет возможности прочитать. Игра (Shaltered 2) выпущена в конце 2021 года.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

В свойствах ярлыка возможности поставить 640Х480 почему-то нет, пробовал огромное количество способов описанных у Вас и на похожих сайтах — ничего не помогло, однако не смог найти конфиг файл и не смог разобраться в реестре, остальное испробовал (как мне кажется все).
Надеюсь на Вашу помощь.
Заранее благодарен.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Здравствуйте.
Мне интересно, как можно сделать так, чтобы экран был не много сплющенный в игре «роблокс», но так, чтобы было играбельно?
Я имею в виду сделать так, чтобы в одной игре разрешение было хуже, а на рабочем столе как обычно?

Все типы разрешений экрана: самая полная таблица

Разрешение экрана — это один из тех терминов, который используют люди, не зная точно, что это значит. Мы подумали, что пришло время объяснить, что такое разрешение экрана и почему это важно.

Что такое разрешение экрана?

Изображение на экране вашего компьютера состоит из тысяч или миллионов пикселей. Экран создает изображение, которое вы видите, изменяя цвета этих крошечных квадратных элементов.

Разрешение экрана говорит вам, сколько пикселей ваш экран может отображать по горизонтали и вертикали. Это написано в формуле 1920 х 1080. В этом примере экран может отображать 1920 пикселей по горизонтали и 1080 по вертикали.

Разные размеры экрана, одинаковое разрешение

Теперь все становится немного сложнее. Экраны разных размеров могут иметь одинаковое разрешение экрана. С годами цена на мониторы резко упала, поэтому может возникнуть соблазн купить самый большой экран, который вы можете себе позволить.

Но размер не единственное соображение. У вас может быть ноутбук с 15-дюймовым экраном и разрешением 1366 x 786. У вас также может быть 21-дюймовый монитор на столе с тем же разрешением 1366 x 786.

В этом примере, хотя монитор на вашем столе больше, на самом деле вы не сможете разместить на нем ничего лишнего. Общее количество пикселей одинаково.

Это означает, что выбор правильного экрана означает, что вы должны принять во внимание как размер экрана, так и его разрешение.

Что означает более высокое разрешение?

Если вы сравниваете два экрана одинакового размера, но с разным разрешением, то экран с более высоким разрешением (то есть с большим количеством пикселей) сможет показать вам больше информации, поэтому вам не придется много раз прокручивать экран.

Поскольку этот экран имеет больше пикселей, изображение будет более четким. Однако более высокое разрешение также означает, что элементы на экране, такие как значки и текст, будут выглядеть меньше.

Сейчас в продаже есть множество вариантов мониторов с самыми разными разрешениями экрана, чем когда-либо. Теперь можно купить мониторы высокой четкости (1 366 x 768), полной высокой четкости (1 920 x 1 080), широкоэкранного графического массива со сверхвысоким разрешением (1 920 x 1 200) и даже мониторы сверхвысокой четкости (3 840 x 2160), также известные как 4K.

Дело не только в разрешении экрана

Когда вы выбираете новый компьютер или монитор, не позволяйте себе ориентироваться только на разрешение экрана. Яркость и цветопередача могут различаться на разных экранах, поэтому лучший способ выбрать — сесть перед экраном и посмотреть, нравится ли вам отображаемая картинка.

Итак, есть несколько практических правил, которые помогут вам выбрать правильное разрешение:

Если вы хотите работать с большим комфортом, 15-дюймовый MacBook Pro от Apple с дисплеем Retina может похвастаться технологией True Tone и высоким коэффициентом контрастности, обеспечивающими более глубокий черный цвет и более насыщенный белый цвет. Экран LG 27 «Ultra HD — один из лучших отдельных мониторов, которые вы можете купить.

Разрешения экранов и их соотношения сторон:

НазваниеРазрешение матрицы и соотношение сторонКоличество пикселей
QVGA320 x 240 (4:3)76,8 кпикс
SIF(MPEG1 SIF)352 x 240 (22:15)84,48 кпикс
CIF(MPEG1 VideoCD)352 x 288 (11:9)101,37 кпикс
WQVGA400 x 240 (5:3)96 кпикс
[MPEG2 SV-CD]480 x 576 (5:6 – 12:10)276,48 кпикс
HVGA640 x 240 (8:3) или 320 x 480 (2:3 – 15:10)153,6 кпикс
nHD640 x 360 (16:9)230,4 кпикс
VGA640 x 480 (4:3 – 12:9)307,2 кпикс
WVGA800 x 480 (5:3)384 кпикс
SVGA800 x 600 (4:3)480 кпикс
FWVGA854 x 480 (427:240)409,92 кпикс
WSVGA1024 x 600 (128:75 – 15:9)614,4 кпикс
XGA1024 x 768 (4:3)786,432 кпикс
XGA+1152 x 864 (4:3)995,3 кпикс
WXVGA1200 x 600 (2:1)720 кпикс
WXGA1280 x 768 (5:3)983,04 кпикс
SXGA1280 x 1024 (5:4)1,31 Мпикс
WXGA+1440 x 900 (8:5 – 16:10)1,296 Мпикс
SXGA+1400 x 1050 (4:3)1,47 Мпикс
XJXGA1536 x 960 (8:5 – 16:10)1,475 Мпикс
WSXGA (x)1536 x 1024 (3:2)1,57 Мпикс
WXGA++1600 x 900 (16:9)1,44 Мпикс
WSXGA1600 x 1024 (25:16)1,64 Мпикс
UXGA1600 x 1200 (4:3)1,92 Мпикс
WSXGA+1680 x 1050 (8:5)1,76 Мпикс
Full HD1920 x 1080 (16:9)2,07 Мпикс
Full HD+2340 x 1080 (19,5:9)2,3 Мпикс
WUXGA1920 x 1200 (8:5 – 16:10)2,3 Мпикс
QWXGA2048 x 1152 (16:9)2,36 Мпикс
QXGA2048 x 1536 (4:3)3,15 Мпикс
WQXGA2560 x 1440 (16:9)3,68 Мпикс
WQXGA2560 x 1600 (8:5 – 16:10)5,24 Мпикс
WQSXGA3200 x 2048 (25:16)6,55 Мпикс
QUXGA3200 x 2400 (4:3)7,68 Мпикс
WQUXGA3840 x 2400 (8:5 – 16:10)9,2 Мпикс
4K (Quad HD)4096 x 2160 (256:135)8,8 Мпикс
HSXGA5120 x 4096 (5:4)20,97 Мпикс
WHSXGA6400 x 4096 (25:16)26,2 Мпикс
HUXGA6400 x 4800 (4:3)30,72 Мпикс
Super Hi-Vision7680 x 4320 (16:9)33,17 Мпикс
WHUXGA7680 x 4800 (8:5, 16:10)36,86 Мпикс
Развертка экрана: что это такое?

Возможно, вы видели разрешение экрана, описанное как что-то вроде 720p, 1080i или 1080p. Что это обозначает? Начнем с того, что буквы рассказывают о том, как картинка «рисуется» на мониторе. «Р» означает прогрессивный, а «I» означает чересстрочный.

Чересстрочная развертка является пережитком телевизионных и ранних ЭЛТ-мониторов. На экране монитора или телевизора линии пикселей расположены горизонтально. Линии было относительно легко увидеть, если вы приблизились к старому монитору или телевизору, но в настоящее время пиксели на экране настолько малы, что их трудно увидеть даже при увеличении.

Электроника монитора «рисует» каждый экран построчно и слишком быстро, чтобы глаз мог видеть её. Чересстрочный дисплей сначала рисует все нечетные строки, а затем все четные строки. Поскольку экран раскрашивается чередующимися линиями, мерцание всегда было проблемой при чересстрочном сканировании.

Производители пытались преодолеть эту проблему различными способами. Наиболее распространенным способом является увеличение количества раз, когда весь экран отображается в секунду, что называется частотой обновления.

Самая распространенная частота обновления составляла 60 раз в секунду, что приемлемо для большинства людей, но ее можно увеличить лишь немного, чтобы избавиться от мерцания, которое некоторые люди все еще ощущают.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Вот как изображение отображается на прогрессивном дисплее по сравнению с чересстрочным

Когда люди отошли от старых CRT-дисплеев, терминология изменилась с частоты обновления на частоту кадров из-за различий в работе светодиодного монитора. Частота кадров — это скорость, с которой монитор отображает каждый отдельный кадр данных.

В последних версиях Windows частота кадров составляет 60 Гц или 60 циклов в секунду, а светодиодные экраны не мерцают вообще. Более того, система перешла с чересстрочной развертки на прогрессивную, потому что новые цифровые дисплеи стали намного быстрее. При прогрессивном сканировании линии отображаются на экране последовательно, а не сначала нечетными, а затем четными.

RSX: NV3089_IMAGE_IN: Invalid dimensions or scaling factor. #4747

Comments

Emulator-Team-2 commented Jun 12, 2018

Genji: Days of the Blade-(Demo)
Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360
E RSX: NV3089_IMAGE_IN: Invalid dimensions or scaling factor. Request ignored (ds_dx=1048576, dt_dy=4293918720)

F class std::runtime_error thrown: Verification failed: (in file c:\projects\rpcs3\rpcs3\emu\rsx\rsx_cache.h:105)

Atomic Ninjas-(Demo)
Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360
E RSX: NV3089_IMAGE_IN: Invalid dimensions or scaling factor. Request ignored (ds_dx=1048576, dt_dy=4293918720)

The text was updated successfully, but these errors were encountered:

micaelis72 commented Jun 13, 2018

This kind of problem occurs to Macross 30 too. And the symptoms are the same

Deminating commented Jun 18, 2018 •

Happens in NCAA March Madness 08 too regardless of settings. Does not freeze the game, but everything except for hud and menu buttons are a corrupted texture (random texture) or two on a black screen rendering the game completely unplayable.

March Madness 08 menu/ingame examples

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360
Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Edit: Happens to Mamorukun Curse too, when trying to do story mode the game screen is black but the game still plays in the background.

Mamorukun Curse Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Happens to Surfs Up, audio of navigable menus play in the background but it is just a black screen.
Happens to Star Wars The Clone Wars: Republic Heroes, among other issues.
Happens to Lego Harry Potter Years 1-4 Demo, among other issues.
And The Walking Dead Survival Instinct.
And Legend of the Guardians: The Owls of Ga’Hoole.
And Tom Clancy’s EndWar (disc).
And NBA 08 Demo.
And Battlefield 4/ Bad Company 2.

I’m sure I’m missing a decent few that I’ve noticed, but hopefully it’s enough to keep track of for now.

Типичные ошибки при прошивке Samsung Galaxy через Odin

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Для прошивки устройств на базе Android используются различные утилиты. Например все девайсы с чипами Mediatek шьются через утилиту FlashTools. Что касается смартфонов и планшетов производства Samsung, то главной программой для их прошивки и рутирования является Odin. Иногда может возникнуть ситуация, когда все сделано по инструкция, однако Odin выдает какую-то ошибку. Мы расскажем о значении этих ошибках, а также об основных способах их решения.

Ошибка подключения устройства

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

1. Убедитесь в том, что ваш аппарат переведен в режим загрузчика (Downloading).
2. Проверьте исправность вашего microUSB-кабеля. Если это возможно, используйте только оригинальные кабели Samsung, подключая их к заднему порту USB 2.0 на материнской плате.

Утилита Odin не может обнаружить устройство Samsung

В Odin не показывается ID и COM подключенного к компьютеру устройства Samsung

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

1. Убедитесь в том, что ваш аппарат переведен в режим загрузчика (Downloading).
2. Проверьте исправность вашего microUSB-кабеля. Если это возможно, используйте только оригинальные кабели Samsung, подключая их к заднему порту USB 2.0 на материнской плате.
3. Попробуйте скачать последнюю версию Odin, или же наоборот, более раннюю версию.
4. Запустите Odin от имени администратора.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Прошивка прекращается во время проверки подключения

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Попробуйте подключить ваш microUSB-кабель в другой разъем на материнской плате или воспользоваться другим кабелем.

Как исправить ошибку 0xc000012f и 0xc0000020 Bad Image в Windows 11/10

При запуске некоторых игр и программ как Chrome или Office в Windows 11 и Windows 10 вы можете столкнуться с ошибкой Bad Image, которая поясняет, что «Программа (путь к программе) не предназначена для выполнения в Windows или содержит ошибку» и указывает на код 0xc000012f или 0xc0000020.

Самое печальное в этой ошибке, что виновником её могут быть разные компоненты как повреждение системных файлов, указывающие на библиотеки atiglpxx.dll и atiuxpag.dll, которые относятся к драйверам видеокарты, Framework или DirectX. Давайте разберем, как исправить ошибку Bad Image 0xc000012f или 0xc0000020 в Windows 11/10.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

1. Проверка и восстановление системных файлов

Запустите командную строку от имени администратора и введите две команды по очереди:

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

2. Microsoft Visual C++ Redistributable

Если в сообщении об ошибке присутствует названия файлов как msvcr или msvcp, то проблема в Visual C++ Redistributable. В данном случае, у вас он просто не установлен, установлен не правильно или перепутана разрядность. К примеру, у меня ошибка указала на файл msvcr110.dll и он отсутствовал в системе. Если посмотреть свойства этого файла на другом ПК, то можно обнаружить, что он является компонентом Visual C++ Redistributable 2012, который нужно скачать и установить.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Для начало откройте «удаление программ» нажав Win+R и введя appwiz.cpl или зайдите через панель управления. Посмотрите свои версии Visual C++ Redistributable, которые должны быть установлены по две разрядности (x86) и (x64). Также, выделите нажатием мыши Visual C++ Redistributable и нажмите сверху «Изменить«, после чего в новом окне нажать на Repair (Исправить), чтобы восстановить компонент по умолчанию и исправить ошибки установщика. Если не знаете какой, то проделайте исправление со всеми.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Примечание: Если ошибка указывает на другую программу как Office, то попробуйте восстановить через установщик. Изменить > Repair (Исправить).

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Если они в принципе отсутствуют или не хватает какой-либо разрядности, то их нужно скачать с официального сайта microsoft. Перед установкой новой версии, удалите старые, если они имеются.

Важно: Обратите внимание перед загрузкой. Вы должны скачать две версии x64 и x86, и установить их.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

3. Удалить патч обновления

В частности ошибка Bad Image с кодом 0xc000012f известна из-за проблемы накопительного обновления безопасности для IE 10 систем Windows 8 x64 (KB2936068). В других случаях, если вы столкнулись с ошибкой после обновления Windows 11/10, то нужно удалить этот патч.

Откройте «Параметры» > «Обновления и безопасность» > справа «Центр обновления Windows» > «Просмотре журнала обновлений» > «Удалить обновления«. В новом окне определите по дате патч, после какого начало показываться ошибка, и удалите его.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

4. Драйвер видеокарты

Если в сообщение об ошибке указаны файлы atiglpxx.dll и atiuxpag.dll, то это связано с драйверами видеокарты. Нужно полностью и правильно удалить их и скачать заново. Обратитесь ниже к руководству для правильного удаления видео драйвера.

5. Очистка ненужных файлов

Windows может забиваться ненужными и остаточными файлами, которые могут мешать работе системе, играм и программам. Нажмите Win+R и введите cleanmgr, чтобы запустить очистку диска. Ниже полное руководству по очистке диска от ненужных файлов:

6. NET Framework

How to fix signature invalid dimensions

Показать панель управления

Комментарии • 66

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Bro thank you so much means a lot ❤️

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Thala romba romba thank you, thala🙏, aama neenga yapti thala intha dimensions kandu putichingaa?

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Thanks bro I searched for the dimensions you correctly told that

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

This also helped me bro thanks a lot.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Thank you so much anna. Now I changed my signature. Very use full anna.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Thank you brother.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Thank you so much bro. Very helpful ideas. Once again thanks bro

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Thank you bro it worked ❤️

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Thank you sooooo much brother. I am trying whole day. but not able to upload. after trying your trick. I uploaded in few seconds. really its work

Ошибки SP Flash Tool и рекомендации по их решению

В данной инструкции собраны наиболее часто встречающиеся ошибки FlashTool и возможные пути решения данных проблем.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Как известно, во многих случаях для прошивки устройств на чипах MediaTek применяется программа FlashTool, но, к сожалению, часто в процессе встречаются различные ошибки. В данной инструкции собраны наиболее часто встречающиеся ошибки FlashTool и возможные пути решения данных проблем.

(1002 или 0x3EA) S_INVALID_ARGUMENTS

Неверный scatter файл. В моем случае были отключены, в scattere, блоки PRELOADER и DSP_BL. На это и ругался.

(1003 или 0x3EB) S_COM_PORT_OPEN_FAIL

Проблема с портом.
Может возникать если например у вас в BIOS отключены com-порты (хоть в данном случае com-порт здесь виртуальный, а физический USB, но при отключении вы просто не увидите оборудование на которое ставятся драйверы preloader).
Либо проблема в USB кабеле (помогает смена кабеля для прошивки).
Либо проблема в USB-порту компьютера (помогает перетыкание кабеля в другой порт).

(1011 или 0x3F3) S_NOT_ENOUCH_STORAGE_SPACE

Возникает когда размер какой-либо части прошивки превышает размер отведенного ему пространства (Обычно это блок ядра или рекавери).
Также стало известно, что данная ошибка иногда возникает на «сырых» версиях флештула, поэтому возможно поможет смена версии прошивальщика.

(1012 или 0x3F4) S_NOT_ENOUGH_MEMORY

Воспользуйтесь более свежей версией прошивальщика.

(1013 или 0x3F5) S_COM_PORT_OPEN_FAIL

Ошибка по характеру и направленности аналогична ошибке 1003.
Также может помочь смена версии прошивальщика.
Также можно попробовать прошить устройство с отключенной батареей.

(1018 или 0x3FA) S_UNKNOWN_TARGET_BBCHIP

Решение: воспользоваться более свежей версией прошивальщика.

(1022 или 0x3FE) S_UNSUPPORTED_VER_OF_DA

Воспользуйтесь более свежей версией прошивальщика.

(1040 или 0x410) S_UNSUPPORTED_OPERATION

Scatter файл не подходит телефону. Например в названии присутствует 6577, а телефон на самом деле 6573

(1041 или 0x411) CHS_ERR

Переходим в вкладку «Help» там нажимаем «Open Logs Folder» и удаляем все логи. Дальше переходим в папку с прошивкой ищем и удаляем файл файл «Checksum.ini». Прошиваем опять Format+Dowloand.

(2004 или 0x7D4) S_BROM_DOWNLOAD_DA_FAIL

Как мне показалось проблема была в версии флэштула, загрузил версию в конце версии которой есть обозначение SEC, в ней тел зашился с первого раза.
так же ошибка 2004 может возникнуть, если система захламлена usb-дровами разных прочих устройств. Мне помогла программа USBDeview — удалил все установленные usb-драйвера и вуаля, прошивка ч/з FT завелась.
Также может помочь подключение устройства с зажатой клавишей громкости «+» или «-«.
Еще предлагают попробовать следующее: после того как появится ошибка, необходимо сразу закрыть окно с ошибкой и тут же нажать кнопку download еще раз.

(2005 или 0x7D5) S_BROM_CMD_STARTCMD_FAIL

(2020 или 0x7E4) S_BROM_CHKSUM16_MEM_RESULT_DIFF

Решил так — в настройках флештула принудительно поставил галку что тело без батареи, после чего подключил через тест поинт с батареей. Всё на удивление прошилось.
Помогло подключение смартфона с зажатой кнопкой громкости вверх (на разных телефонах может быть по-другому, например громкость вниз или кнопка питания), как только компьютер и FT определили телефон, отпускаем громкость и процесс прошивки пошел).

(2035 или 0x7F3) S_BROM_CMD_JUMP_DA_FAIL

После нажатия кнопки download попробуйте подключить к компьютеру выключенное устройство с предварительно зажатыми кнопками громкости.

(3001 или 0xBB9) S_DA_EXT_RAM_ERROR

Возможно проблемы с подключением. Проверьте кабель и/или переподключите кабель в другой порт.

(3012 или 0xBC4) NAND_FLASH_NOT_FOUND

Проблема связанная с определением флеш памяти устройства. Известные методы побороть данную проблему:
Попробовать использовать разные версии прошивальщика, т.к. по мере выпуска разных версий обновляется и информация о флеш памяти.
Попробовать прошить смартфон на другом компьютере,т.к. бывают софтовые проблемы, мешающие корректно определить память на конкретной машине.

(3013 или 0xBC5) S_DS_SOC_CHECK_FAIL

Возможно, что в окне SP_Flash_Tool не стоит птичка на uboot. uboot — загрузчик операционной системы + драйверы для инициализации основного оборудования (дисплей, процессор, GPIO).
Или когда в строке пути есть русские имена папок например: C:\Users\Колян\Desktop\Хата\Прошивки\Прошивка планшета\8.31\Surfer 8.31 3G_20130402_V1.03\Surfer 8.31 3G_20130402_V1.03

(3054 или 0xBEE) S_DA_NFB_BOOTLOADER_NOT_EXIST

Помогла смена версии прошивальщика с пятой версии на третью

(3066 или 0xBFA) S_DA_HANDSET_FAT_INFO_NOT_FOUND

Возникает при автоматическом форматировании, следует попробовать установить адреса форматирования вручную.

(3144 или 0xC48) S_DA_EMMC_FLASH_NOT_FOUND

Кроме проблемы с железом может быть когда Scatter файл не подходит телефону. Например в названии присутствует emmc, а телефон на самом деле с MTD флэш.
Как же есть вероятность что проблема решится если вы воспользуйтесь машиной с другой операционной системой (в приоритете winXP) и начисто установите драйверы.

(3149 или 0xC4D) S_DA_SDMMC_WRITE_FAILED

Прошивал версией 3.1320.0.174, после выпадения ошибки послушался программу и прошил версией 5.1420.00 (на момент написания последняя версия) выбирал Format all+download и все заработало, программа стояла в корне диска C.
Также проблема может быть аппаратная.

Необходимо переустановить драйвера и добиться чтоб в диспетчере устройств планшет правильно отображался как MTK Usb Port. Далее запустить ФлешТул и выбрать родную прошивку. Снять галочки со всех файлов кроме preloader-файла. Прошить этот файл через download.

(3168 или 0xC60) S_CHIP_TYPE_NOT_MATCH

Неверный scatter-файл. Используйте «родной» scatter файл от вашего устройства.

(4001 или 0xFA1) S_FT_DA_NO_RESPONSE

Решение — сменить USB-порт и перенести SP Flash Tool в корень диска C:
Также есть вариант, что в файле download agent нет информации о ЦП/флэш. Решение — обновить версию прошивальщика.
Проблема может быть аппаратная, например при вышедшей из строя флеш-памяти.
Как пишут тут, появлению данной ошибки может способствовать низкий заряд батареи.

(4008 или 0xFA8) S_FT_DOWNLOAD_FAIL

Способы из практики, которые решили данную проблему:
Смена версии прошивальщика и самое интересное, что на более старую версию.
Смена кабеля для прошивки.
Также возможно в процессе прошивки села АКБ… Решение: зарядить телефон и попробовать прошивку заново.
В некоторых случаях нужно вытащить из устройства акб и попробовать прошить без нее.
Также пишут, что может помочь форматирование устройства.

Проблема и одно из решений ошибки (4008 или 0xFA8) S_FT_DOWNLOAD_FAIL. Два дня мучался и форматировал и менял версии флештулов, вообщем ни как, флештул начинает шить и на 5-7 процентах вылазит ошибка 4008. Один раз даже прошился до 37 процентов после форматирования. Думал память накрячилась,но тест памяти проходил без проблем и не выдавал ошибок. Оказалось очень просто. При снятой крышки телефона увидел блестящие царапины на микросхеме, где кнопка выключения, немного полазил иголкой и о чюдо, начал прошиватся. Оказалась всего лишь запала кнопка выключения.

Попробуйте сменить скорость с Full Speed, на High Speed, прошиваться будет в разы дольше, но у меня проблема решилась. Относится к ошибке (4008 или 0xFA8) S_FT_DOWNLOAD_FAIL.

(4009 или 0xFA9) S_FT_READBACK_FAIL

Кроме ошибок чтения в самом телефоне такая же ошибка при ошибках в файловой системе PC. Например не хватает места для файла или файл невозможно перезаписать т.к. он залочен. Для уточнения надо смотреть лог.

(4010 или 0xFAA) S_FT_FORMAT_FAIL

Рекомендуется сменить версию прошивальщика на 5 версию, крайне желательно начать с версии 5.1352.01 и попытаться прошить аппарат через firmware upgrade (прошивка должна быть оригинальной для аппарата и содержать в себе все блоки).
Также попробуйте сменить кабель для прошивки на более качественный.

(4032 или 0xFC0) S_FT_ENABLE_DRAM_FAIL

Встретилась ошибка 4032 при попытке смены прошивки на аппарате с процессором MT6589 через программу Sp_Flash_tool. Аппарат оживил, отформатировав телефон через кнопку Format (не делайте это если у вас аппарат на процессоре MT6575 или 6577) в программе sp_flash_tool, затем скачал официальную прошивку и прошил ее со всеми галочками через кнопку download. Иногда нужно удалять и переустанавливать драйверы и делать форматирование повторно, и потом перепрошиваться если предыдущая попытка была неудачная.
Если ничего не помогло, то попробуйте сменить версию прошивальщика. Рекомендуется начать с версии 5.1352.01
Нужно найти родной preloader и прошить его. Если прошивка стандартным методом не приносит результата, то возможно придется прошивать аппарат через тестпоинт (далее предоставлена ссылка на тему про тестпоинты). Тестпоинты для прошивки preloader
Как пишут тут, появлению данной ошибки может способствовать низкий заряд батареи.
Также пишут что может помочь замыкание 4 и 5 контакта на разъеме USB.

(4037 или 0xFC5) S_FT_FS_READ_FAIL 0xFC5

(4048 или 0xFD0) S_FT_MEMORY_TEST_FAIL

100% нерабочая память.

(4050 или 0xFD2) S_FT_NEED_DOWNLOAD_ALL_FAIL

Возникает, когда не совпадают размеры блоков в PMT и в скаттере. В общем случае эта ошибка лечится загрузкой всех блоков (может одного usrdata хватит), после этого размер в PMT должен поменяться на правильный.
Иногда помогает смена версии прошивальщика.

(4058 или 0xFDA) S_FT_GET_MEMORY_FAIL

Проблема с флеш-памятью. На одном ТА с такой ошибкой помог прогрев чипа флеш-памяти (паяльным феном на высоких температурах (около 400С)), на другом замена чипа с донорской платы.

(5002 или 0x138A) S_INVALID_DA_FILE

При настройке SP_Flash_Tool download agent нужно выбирать прилагающийся к данной версии прошивальщика. Выбор других агентов дает такую ошибку.

(5007 или 0x138F) S_FTHND_FILE_IS_NOT_LOADED_YET

Обычно возникает если во флештуле стоит галка на блоке, к которому путь отсутствует. Решение: указать путь к необходимому блоку прошивки.
При возникновении данной ошибки помогла смена версии-прошивальщика на v5.1352.01.
Прошивал ZTE Blade L3 (2я ревизия), ошибка возникала постоянно, пока не подключил аппарат без батарейки — ошибка исчезла.

(5054 или 0x13BE) S_DL_GET_DRAM_SETTINGS_FAIL

Заключалась в следующем:
— Каким-то образом была установлена (подходящая для данного девайса) прошивка через Firmware Upgrade
— Галочка с раздела Preloader снята не была
— При этом самого прелоадера в прошивке НЕ было
В результате флештул скорее всего потер прелоадер. Было рекомендовано найти прошивку с прелоадером, прошить через Firmware Upgrade, а потом ставить ту новую прошивку (в которой нет прелоадера) через Download, убрав галочки с тех разделов, которые прошивать не надо.

Вобщем потёрт preloader,пока не отыскал прошивку под Sp flashtool с нормальным preloader не прошивалось ничего,телефон видел только комп,как COM порт,в остальном был труп во всех смыслах.Слитый из sp flashtool бэкап не решал проблему из врайтмэмори,да даже форматировать не удавалось.Как прошил preloader (долго не мог найти прошивку на аппарат) смартфон ожил,дал зашить себе в брюхо кастомное рекавери (тем же sp flashtool’ом),ну а дальше дело техники.

Смысл ошибки — «не удалось получить настройки оперативной памяти устройства». Это может происходить при работе Download Agent внутри устройства, или при передаче ответного пакета от DA к FT. По вине драйвера сбой при передаче может произойти лишь в том случае, если у вас XP с сервис-паком не выше второго, а в этом случае нужно не драйверы переустанавливать, а ставить последний (третий) сервис-пак. В более старших системах драйвер usbser.sys обновлениям не подвергался, поэтому что-то переустанавливать нет смысла.

(5066 или 0x13CA) S_DL_PC_BL_INVALID_GFH_FILE_INFOR

Неправильные файлы. Например когда выбрали scatter из папки с еще не подготовленными для FT файлами. Надо выбрать scatter из папки подготовленных для FT файлов.

(5069 или 0x13CD) S_DL_PMT_ERR_NO_SPACE

На текущий момент вердикт, что это аппаратная проблема. Скорее всего это особенность флешпамяти — бывают такие случаи, когда ни форматирование, ни низкоуровневое форматирование не дает никакого эффекта — на флешке остаются файлы как есть.

(6045 или 0x179D) S_SECURITY_SECURE_USB_DL_IMAGE_SIGN_HEADER_NOT_FOUND

Попробовать другую версию SPFT, рекомендуется начать с версии 5.1532

(6104 или 0x17D8) S_SECURITY_SECURE_USB_DL_DA_RETURN_INVALID_TYPE

Попробовать другую версию SPFT, рекомендуется начать с версии 5.1532

(6124 или 0x17EC) S_SECURITY_INVALID_PROJECT (6124), MSP ERROE CODE: 0 x 00.

Получилось устранить после прошивки родного Preloader через кнопку download. После этого прошивка модифицированного recovery прошла без ошибок и далее восстановил прошивку из ранее созданного бекапа.

(6126 или 0x17EE) S_SECURITY_SECRO_HASH_INCORRECT

На текущий момент неизлечима в домашних условиях.

Данная ошибка встречается на телефонах Huawei G610, Huawei G700, LG L60 Dual
Характеризуется следующими симптомами:
— периодическая перезагрузка
— в телефоне остаются удаленные вещи
— при проверке памяти на запись выскакивает ошибка

Перечисленные выше телефоны имеют залоченный загрузчик, из-за чего необходимо прошить разлоченный sec_ro для разблокировки и дальнейшей перепрошивки. Но вся беда в том, что именно при прошитии sec_ro чаще всего и возникает эта ошибка.

Рекомендуется заменить память в сервисе.

(8038 или 0x1F66) SP FLASH TOOL ERROR)/(PMT changed for the ROM; it must be downloaded)

Возникает если имена или адреса блоков в scatter отличаются от таблицы внутри телефона (PMT). Нужно поправить scatter-файл в папке с прошивкой, т.е. привести к одному виду с вашем текущем скаттер-файлом, из прошивки которая у вас в данный момент на аппарате. Пример как отлавливать и править вручную приведен здесь.
Если со скаттер файлом ничего не предпринималось, но все-равно выводится данная ошибка, то можете попробовать сменить версию прошивальщика. Рекомендуется начать с версии SP_Flash_Tool_v5.1352.01

От 8038 есть одно простое средство — использовать firmware upgrade. НО ВНИМАНИЕ! Прошивка должна быть конкретно для этой модели девайса и содержать все блоки(обычно есть в стоковых прошивках)

(8045 или 0x1F6D) SP FLASH TOOL ERROR

Ошибка по характеру похожа на 8038, но на практике правка скаттер файла не помогала. Для решения проблемы многие шли в сервисный центр и им воскрешали аппарат через программатор.
В домашних условиях иногда срабатывает вариант прошивки через кнопку DOWNLOAD со всеми установленными галочками (версии флештула перебирайте и пробуйте несколько раз).

8045 (неверно размеченая таблица) если такая ошибка встретится, качаем сток прошивку загружаем в флештул (любой), нажимаем Format, далее заряжаем батарею (обязательная процедура) (планшет придется разбирать и заряжать в ручную), далее той же стоковой прошивкой через кнопку DOWLOAD заливаем со всеми галками, возможно будет прерывание процесса загрузки но не унываем если это произошло нажимаем firmware upgrade подключаем девайс и все.

Также проблема может быть аппаратная.

(8200 или 0x2008) SP FLASH TOOL ERROR

Возникает если вы пытаетесь прошить аппарат на одной платформе, прошивкой от другого (например у вас mt6577, а вы пытаетесь прошить прошивкой от аппарата на mt6575 и т.д.)
Также может помочь смена версии прошивальщика.

(8417 или 0x20E1) SP FLASH TOOL ERROR: The load scatter file is invalid!

Уберите из пути к скаттер-файлу иероглифы и уменьшите длинну пути до него (до файла).

Unrecognized ROM detected

Причина: несовпадение разметки в скаттере и в устройстве.
Чаще всего случается, когда над устройством производились действия по кастомной переразметке через изменение параметров разделов в EBR
При этом сам скаттер обычно никто не меняет.

1. Принудительное форматирование с параметрами: Auto Format Flash и Format whole flash except Bootloader для того, чтобы инициализировать устройство. Полная инструкция есть в шапке в спойлере: «Как правильно отформатировать смартфон». И не забудьте сделать бэкап NVRAM (IMEI) заранее!
2. Полная прошивка через Download.

The image dimensions could not be determined (the image may be invalid) about imgr OPEN

and i use below code for implementing imgr:
var IMGR = require(‘imgr’).IMGR; var imgr = new IMGR(); imgr.serve(‘./public/images’).namespace(‘/crop’).urlRewrite(‘/:path/:size/images/:file.:ext’).using(app);
library implementtation in. our project is works perfect but for this image, it get me error, why?

Error: The image dimensions could not be determined (the image may be invalid). at /root/chandpar-backend/node_modules/imgr/lib/size.js:14:24 at done (/root/chandpar-backend/node_modules/imagesize/lib/imagesize.js:281:5) at ReadStream.handleData (/root/chandpar-backend/node_modules/imagesize/lib/imagesize.js:291:7) at emitOne (events.js:116:13) at ReadStream.emit (events.js:211:7) at addChunk (_stream_readable.js:263:12) at readableAddChunk (_stream_readable.js:250:11) at ReadStream.Readable.push (_stream_readable.js:208:10) at fs.read (fs.js:2058:12) at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)

Related Issues (16)

Recommend Projects

A declarative, efficient, and flexible JavaScript library for building user interfaces.

Vue.js

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TensorFlow

An Open Source Machine Learning Framework for Everyone

Django

The Web framework for perfectionists with deadlines.

A PHP framework for web artisans

Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

javascript

JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

Some thing interesting about web. New door for the world.

server

A server is a program made to process requests and deliver data to clients.

Machine learning

Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

Visualization

Some thing interesting about visualization, use data art

Some thing interesting about game, make everyone happy.

Recommend Org

Facebook

We are working to build community through open source technology. NB: members must have two-factor auth.

Microsoft

Open source projects and samples from Microsoft.

Zabbix shows that bot readonly user is online.

Comments (3)

@gelato what’s in config file?

gelato commented on September 23, 2016

tg_key = «api###» # telegram bot api key

zbx_tg_prefix = «zbxtg» # variable for separating text from script info
zbx_tg_tmp_dir = «/tmp/» + zbx_tg_prefix # directory for saving caches, uids, cookies, etc.
zbx_tg_signature = False

proxy_to_zbx = None
proxy_to_tg = None

#proxy_to_zbx = «proxy.local:3128»
#proxy_to_tg = «proxy.local:3128»

emoji_map = <
«ok»: » «,
«problem»: » «,
«info»: » ℹ️ «,
«warning»: » ⚠️ «,
«disaster»: » «,
«bomb»: » «,
«fire»: » «,
«hankey»: » «,
>

[[email protected] server alertscripts]# cat /tmp/zbxtg/22181.png

cat: /tmp/zbxtg/22181.png: No such file

gelato commented on September 23, 2016

Fixed by myself. Just needed to grant all readonly permissions to zabbix user, while first time i gave only to some hostgroups. Sorry.

Related Issues (20)

Recommend Projects

A declarative, efficient, and flexible JavaScript library for building user interfaces.

Vue.js

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TensorFlow

An Open Source Machine Learning Framework for Everyone

Django

The Web framework for perfectionists with deadlines.

A PHP framework for web artisans

Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

javascript

JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

Some thing interesting about web. New door for the world.

server

A server is a program made to process requests and deliver data to clients.

Machine learning

Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

Visualization

Some thing interesting about visualization, use data art

Some thing interesting about game, make everyone happy.

Recommend Org

Facebook

We are working to build community through open source technology. NB: members must have two-factor auth.

Microsoft

Open source projects and samples from Microsoft.

Invalid width for image dimensions requested #18

Comments

IReese commented Jan 10, 2019 •

I posted a similar issue with tilemill-project here: tilemill-project#2635

II reinstalled Tileoven using the standard install with one modification:

The install works, Tileoven is running,however when I am using Tileoven, I get an error when trying to load large rasters (>5GB) or vrts.

Three scenarios happen when I attempt to load a large raster:

1.Zoom 0-8. Error message:
Message: console message: http://127.0.0.1:20009/assets/bones/all.js @5571: Invalid width for image dimensions requested
2. Zoom 9-11. My memory maxes out, switchs to swap, hangs my machine, then kills Tilemill with SIGKILL. The swap remains full after Tileoven dies
3. Zoom 12-20. Raster loads normally with NO errors and works fine.

I’ve tried a number of solutions so far but none have worked:

I suspect this map be an issue with with Mapnik and not Tileoven.

Any ideas where to go next?

The text was updated successfully, but these errors were encountered:

Устраняем ошибку «Файл слишком велик для конечной файловой системы»

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

При переносе информации на внешний жесткий диск или флешку, Windows может выдать уведомление «Файл слишком велик для конечной файловой системы». При этом, ошибка не исчезает, если вновь повторить копирование.

Что означает ошибка

В целом, информация с диалогового окна предоставляется практически исчерпывающая. Трактуется это так – файловая система внешнего носителя информации не поддерживает файлы большого размера. А при копировании, вы превысили допустимый размер одного или нескольких файлов, и система отказывается их копировать на носитель.

При этом, неважно какая операционная система установлена на компьютере – Windows 7 или Windows 10.

Возможные причины

Скорее всего, внешний носитель имеет файловую систему FAT32. В ней имеется ограничение – максимальный размер файла до 4095 Мб. Копируя файл или папку с ним размером больше, чем позволяет FAT32 в англоязычном варианте Windows, вы увидите диалоговое окно «The file is too large for the destination file system».

Способы решения

Есть несколько вариантов решения вопроса. И зависят они от задач, которыми вы руководствуетесь.

Форматирование с FAT32 на NTFS встроенной утилитой Windows(ВИДЕО)

Если данные на флешке не нужны, вам безразлична файловая система, главное, чтобы можно было записать требуемый файл, то можно форматировать FAT32 в NTFS. После этого, подобного ограничения не будет. Что делать:

Преобразование FAT32 в NTFS без потери данных с помощью стороннего программного обеспечения

В случае, если информация с флешки должна остаться на ней, можно воспользоваться для преобразования FAT32 в NTFS бесплатной программой AOMEI Partition Assistant Standard Edition. Как исправить не потеряв данные:

Как записать файл большого размера не потеряв данные

Когда используете внешний накопитель только для переноса информации с компьютера на компьютер, можно разделить большой файл на несколько частей. Считать его при этом не удастся, но файловую систему не нужно будет менять. Данные на внешнем диске затронуты не будут. Сделать это можно с помощью архиватора:

Архив будет состоять из нескольких частей, размер которых не будут превышать максимально допустимое значение.

Ответы на вопросы пользователей

Как добавить фильм на флешку, если телевизор не читает NTFS

В таком случае можно пойти по пути наименьшего сопротивления и скачать в интернете тот же фильм, только меньшего размера. Также, можно преобразовать накопитель в расширенный формат ExFAT. Ограничение при этом составит 32 Гб, что вполне приемлемо. Но такое преобразование сотрет все данные, поэтому предварительно переместите их на другой накопитель информации.

Для форматирования флешки воспользуйтесь командной строкой:

Флешку с ExFAT будут читать телевизоры или иные устройства, которые работают с FAT. И конечно, теперь можно записать фильм большого размера в диапазоне от 4 ГБ до 32 ГБ.

Как записать образ Windows, чтобы сделать загрузочную флешку

Если ISO-образ Windows более 4 ГБ, могут возникнуть проблемы при записи, так как обязательное условие загрузочной флешки — FAT32. Разрешить эту проблему могут специальные утилиты, создающие рабочую загрузочную флешку:

Заключение

В статье собраны способы, которые подойдут для решения практически любой задачи, связанной с этой ошибкой. К сожалению, в силу технических особенностей используемого железа, полностью отказаться от «семейства FAT» пока еще нельзя. Поэтому, сохраняйте мануал в закладки, возможно он еще не раз вам пригодиться.

Многие пользователи ПК во время работы с какой-либо программой могут столкнуться с «вылетом» указанной программы, и появившимся сообщением «Out of memory». Возникшая проблема может иметь множество причин, начиная от банального недостатка памяти на пользовательском ПК, и заканчивая некорректной работой с памятью какой-либо программы.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Причины появления дисфункции

Сообщение «Out of memory» (в переводе дословно «вне памяти», или «недостаточно памяти») обычно возникает при недостатке памяти на пользовательском компьютере. В частности же, в появлении данной ошибки «виновен» следующий набор факторов:

Когда вашему компьютеру не хватает физической R.A.M. памяти, он заимствует часть места на жёстком диске, и создаёт так называемую «виртуальную память». Система временно хранит в такой виртуальной памяти ту часть данных, которая не помещается в памяти обычной. Такие данные обычно хранятся в файле «pagefile.sys», размер которого может увеличиваться или уменьшаться в зависимости от специфики работы вашей ОС. Если на диске будет недостаточно места, файл «pagefile.sys» не сможет расти, и пользователь получит рассматриваемую ошибку.

Как исправить ошибку «Out of memory»

Для решения указанной проблемы рекомендую сделать следующее:

Альтернативным вариантом решения проблемы является установка соответствующего фикса от Майкрософт. Или использование расширений или дополнений для браузера уровня «The Great Suspender» для «Google Chrome», хорошо работающего с ненужными вкладками браузера.

bcdedit/set IncreaseUserVa 3072

И нажмите на ввод, и перезагрузите ваш ПК. Функционал данной команды позволяет выделить пользовательским приложениям 3 гигабайта оперативной памяти для работы. В некоторых системах этого может быть слишком много, потому если после ввода данной команды система начала чаще сбоить, то введите в командной строке от имени администратора:

bcdedit /set IncreaseUserVa 2560 — что позволит задействовать 2,5 гигабайта вместо ранее забронированных 3.

Если ситуацию этим исправить не удалось, верните настройки на состояние по умолчанию:

bcdedit /deletevalue IncreaseUserVa

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Установите нужный размер файла подкачки

Заключение

Ошибка «Out of memory» может иметь множество причин, связанных как с физическим недостатком памяти на ПК, так и другими детерминантами, изложенными мной выше. Для решения проблемы советую закрыть ненужные программы (вкладки браузера) на вашем компьютере (тем самым разгрузив его память), а самым эффективным инструментом является установка дополнительной планки памяти на ПК, что в большинстве случаев поможет избавиться от ошибки на вашем компьютере.

Как поменять разрешение в игре не заходя в игру

Многие пользователи, столкнувшись с невозможностью запуска какой-либо игры из-за её графических настроек, хотели бы поменять разрешение в игре на оптимальное, не заходя в саму игру. Механизм реализации данной задачи для многих является «тёмным лесом», так как изменить графические настройки игры без её запуска кажется невозможным. Тем не менее существует несколько действенных способов изменить графические настройки игры без входа в игру, с которыми я и познакомлю читателей данного материала.

Как поменять разрешение экрана вне диапазона монитора на оптимальное, не заходя в игру

Существует несколько действенных альтернатив, позволяющих изменить разрешение игры, соотношение сторон не запуская саму игру.

Измените свойства ярлыка игры

То есть width (ширина) – 800 пикселей, а height (высота) – 600 пикселей. Наша игра должна запуститься с указанным невысоким разрешением, после чего перейдя в её настройки можно выставить требуемое оптимальное разрешение экрана.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360Пропишите требуемые значения в строке «Объект»

Вместо указанных параметров можно использовать альтернативные и более высокие – 1024 на 768, 1280 на 1024 и другие. После внесения изменения сохраните результат, нажав на « Ок » внизу, после чего попробуйте запустить игру с помощью данного ярлыка вновь.

Модифицируйте файл конфигурации

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Необходимо открыть такой файл (с помощью стандартного «Блокнота»), и найти там параметры, в которых прописаны показатели разрешения экрана.

Например, это могут быть:

iSize W=1920
iSize H=1080

Resolution 1600 900

И другие аналоги. Поставьте вместо данных значений более скромные показатели (например, 1024 на 768), сохраните изменения в данном файле с помощью нажатия на «Сохранить», после чего попытайтесь запустить саму игру.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360Пропишите требуемые параметры экрана

Используйте лаунчер, чтобы поменять разрешение

Задействуйте GeForce Experience

Специальная программа под видеокарты GeForce Experience позволяет менять настройки каждой игры, включая и разрешения экрана. Скачайте программу с сайта nvidia.ru, установите и запустите. Выберите конкретную игру из представленного в программе списка, и установите требуемое разрешение для данной игры.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Используйте функционал Стим, не заходя в саму игру

Нажмите на «Ок» и закройте окно. Запустите игру.

Заключение

В данном материале были разобраны способы, позволяющие поменять высокое разрешение в игре на оптимальное, не заходя в саму игру. Наибольшую эффективность показало прописывание параметров настроек экрана через ярлык игры и её конфигурационный файл. В самой же игре можно попробовать нажать на комбинацию клавиш Alt+Enter – это позволит перейти в оконный режим, и уже из него, с появлением нормального изображения, настроить игру так, как вам нужно.

Ошибки SP FlashTool

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360 Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360 Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360 Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

(1002 или 0x3EA) S_INVALID_ARGUMENTS
Возможно неверный scatter файл. В моем случае были отключенны, в scattere, блоки PRELOADER и DSP_BL. На это и ругался.

(1003 или 0x3EB) S_COM_PORT_OPEN_FAIL
Обычно проблема устраняется заменой USB порта и кабеля. Реже включением в BIOS com-портов. Так же может помочь простая перезагрузка компьютера.

(1011 или 0x3F3) S_NOT_ENOUCH_STORAGE_SPACE
Первое — обновите ваш Flash Tools, если не поможет, то значит размер некоторых элементов прошивки превышает отведенное ему пространство. Вот здесь есть отличное решение

(1012 или 0x3F4) S_NOT_ENOUGH_MEMORY
Попробуйте воспользоватся более свежей версией SP FlashTool.

(1013 или 0x3F5) S_COM_PORT_OPEN_FAIL
Ошибка очень похожая на ошибку 1003.
Также может помочь смена версии прошивальщика.
Также можно попробовать прошить устройство с отключенной батареей.

(1018 или 0x3FA) S_UNKNOWN_TARGET_BBCHIP
Посмотрите ошибку 1012.

(1022 или 0x3FE) S_UNSUPPORTED_VER_OF_DA
Достаточно обновить версию вашего SP Flash Tool

(1040 или 0x410) S_UNSUPPORTED_OPERATION
Данная ошибка сообщает, что прошивка не соответствует процессору аппарата.

(2004 или 0x7D4) S_BROM_DOWNLOAD_DA_FAIL
Возможно поможет подключение устройства с зажатой клавишей громкости «+» или «-«.
Еще можно попробовать так: после того как появится ошибка, нужно сразу закрыть окно с ошибкой и тут же нажать кнопку download еще раз.

(2035 или 0x7F3) S_BROM_CMD_JUMP_DA_FAIL
Для исправление ошибки повторите процедуру сначала, но подключите само устройство зажав на нем кнопки громкости.

(3001 или 0xBB9) S_DA_EXT_RAM_ERROR
Отключите и снова подключите кабель, попробуйте на другом разъеме.

(3012 или 0xBC4) NAND_FLASH_NOT_FOUND
Используйте другой SP Flash Tool или обновите прошивку на другом компьютере, если нечего не поможет то у вас явно проблема не софтовая.

(3013 или 0xBC5) S_DS_SOC_CHECK_FAIL
Проверьте установлена ли галочка
Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360
Так же максимально сократите путь к папке с прошивкой. Желательно сохранить на диске С без использования русских букв в название.

(3054 или 0xBEE) S_DA_NFB_BOOTLOADER_NOT_EXIST
Попробуйте сменить версии прошивальщика, например с пятой версии на третью

(3066 или 0xBFA) S_DA_HANDSET_FAT_INFO_NOT_FOUND
Возникает при автоматическом форматировании, следует попробовать установить адреса форматирования вручную.

(3144 или 0xC48) S_DA_EMMC_FLASH_NOT_FOUND
Кроме проблемы с железом может быть когда Scatter файл не подходит телефону. Например в названии присутствует emmc, а телефон на самом деле с MTD флэш.
Как же есть вероятность что проблема решится если вы воспользуйтесь машиной с другой операционной системой ( в приоритете winXP) и начисто установите драйверы.

(3148) S_DA_SDMMC_READ_FAILED
Данная проблема в основном связана с железой, а именно с флеш памятью устройство. В редких случаях помогает смена версии прошивальшика.

(3149 или 0xC4D) S_DA_SDMMC_WRITE_FAILED
Прошивал версией 3.1320.0.174, после выпадения ошибки послушался программу и прошил версией 5.1420.00 (На момент написания последняя версия) выбирал Format all+download и все заработало, программа стояла в корне диска C.

(3168 или 0xC60) S_CHIP_TYPE_NOT_MATCH
Неверный scatter-файл. Файл не соответствует процессору аппарата.

(4001 или 0xFA1) S_FT_DA_NO_RESPONSE
Для начало нужно сменить USB-порт и перенести SP FlashTool в корень диска C:
Потом нужно попробовать с более новой версией прошивальшика.
Проблема может быть аппаратная, например при вышедшей из строя флеш-памяти.
Еще нужно зарядить аккумулятор, например «Лягушкой»

(4008 или 0xFA8) S_FT_DOWNLOAD_FAIL
Способы из практики, которые решили данную проблему:
Смена версии прошивальщика и самое интересное, что на более старую версию.
Смена кабеля для прошивки.
Также возможно в процессе прошивки села АКБ. Решение: зарядить телефон и попробовать прошивку заново.
В некоторых случаях нужно вытащить из устройства акб и попробовать прошить без нее.
Также пишут, что может помочь форматирование устройства.

(4010 или 0xFAA) S_FT_FORMAT_FAIL
Рекомендуется сменить версию прошивальщика на 5 версию, крайне желательно начать с версии 5.1352.01 и попытаться прошить аппарат через firmware upgrade (прошивка должна быть оригинальной для аппарата и содержать в себе все блоки).
Также попробуйте сменить кабель для прошивки на более качественный.

(4032 или 0xFC0) S_FT_ENABLE_DRAM_FAIL
Встретилась ошибка 4032 при попытке смены прошивки на аппарате с процессором MT6589 через программу Sp_Flash_tool. Аппарат оживил, отформатировав телефон через кнопку Format (не делайте это если у вас аппарат на процессоре MT6575 или 6577) в программе sp_flash_tool, затем скачал официальную прошивку и прошил ее со всеми галочками через кнопку download. Иногда нужно удалять и переустанавливать драйверы и делать форматирование повторно, и потом перепрошиваться если предыдущая попытка была неудачная. Также проверьте нет ли в пути к scatter-файлу русских символов, а также в директории где находится папка с программой. Попробуйте сменить версию прошивальщика. Рекомендуется начать с версии 5.1352.01.
Если снова нечего не помогает то это означает что у аппарата физический дефект, в основном может быть повреждена флеш память (или могут быть оторваны пятачки), так же и проблема может быть с процессором.
Пример победы над ошибкой 4032

(4037 или 0xFC5) S_FT_FS_READ_FAIL 0xFC5
Перенести SP FlashTool в корень диска C:, смотрите чтобы на пути программы и прошивки не было русских букв.

(4048 или 0xFD0) S_FT_MEMORY_TEST_FAIL
100% нерабочая микросхема память.

(4050 или 0xFD2) S_FT_NEED_DOWNLOAD_ALL_FAIL
Возникает, когда не совпадают размеры блоков в PMT и в скаттере. В общем случае эта ошибка лечится загрузкой всех блоков (может одного usrdata хватит), после этого размер в PMT должен поменяться на правильный.
Иногда помогает смена версии прошивальщика.

(4058 или 0xFDA) S_FT_GET_MEMORY_FAIL
Это обозначает, проблема с флеш-памятью. На одном ТА с такой ошибкой помог прогрев чипа флеш-памяти (паяльным феном на высоких температурах (около 400С)), на другом замена чипа с донорской платы.

(5002 или 0x138A) S_INVALID_DA_FILE
Поменяйте DA файл.
Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

(5007 или 0x138F) S_FTHND_FILE_IS_NOT_LOADED_YET
Обычно возникает если во флештуле стоит галка на блоке, к которому путь отсутствует. Решение: указать путь к необходимому блоку прошивки.
Еще помогла смена версии-прошивальщика на v5.1352.01.

(5054 или 0x13BE) S_DL_GET_DRAM_SETTINGS_FAIL
Скорее всего у вас стертый PreLoader, нужно прошить полную прошивку с прелоадером в режиме Firmware Upgrade.

(5066 или 0x13CA) S_DL_PC_BL_INVALID_GFH_FILE_INFOR
Неправильные файлы. Например когда выбрали scatter из папки с еще не подготовленными для FT файлами. Надо выбрать scatter из папки подготовленных для FT файлов.

(6045 или 0x179D) S_SECURITY_SECURE_USB_DL_IMAGE_SIGN_HEADER_NOT_FOUND
Попробовать другую версию SPFT, рекомендуется начать с версии 5.1532

(6104 или 0x17D8) S_SECURITY_SECURE_USB_DL_DA_RETURN_INVALID_TYPE
Смотрите ошибку 6045

(6124 или 0x17EC) S_SECURITY_INVALID_PROJECT (6124), MSP ERROE CODE: 0 x 00.
Перепрошивайте родной Preloader через кнопку Download.

(6126 или 0x17EE) S_SECURITY_SECRO_HASH_INCORRECT
Скорее всего нужна замена микросхемы памяти.

(8038 или 0x1F66) SP FLASH TOOL ERROR)/(PMT changed for the ROM; it must be downloaded)
Возникает если имена или адреса блоков в scatter отличаются от таблицы внутри телефона (PMT). Нужно поправить scatter-файл в папке с прошивкой, т.е. привести к одному виду с вашем текущем скаттер-файлом, из прошивки которая у вас в данный момент на аппарате.
Если со скаттер файлом ничего не предпринималось, но все-равно выводится данная ошибка, то можете попробовать сменить версию прошивальщика. Рекомендуется начать с версии SP_Flash_Tool_v5.1352.01
Еще один способ (не всегда работает, т.к. MTK Droid Tools не всегда создает второй скаттер с исправленными разделами):
Скачиваем последний mtkdroidtools
Подключаем телефон и сохраняем карту блоков (сохранится 2 файла и один из них будет с именем PMP)
Оставляем только PMP и переименовываем его в обычный вид скаттера
Через него можно прошить любую прошивку без ошибки 8038.

(8045 или 0x1F6D) SP FLASH TOOL ERROR
Ошибка по характеру похожа на 8038, но на практике правка скаттер файла не помогала. Для решения проблемы многие шли в сервисный центр и им воскрешали аппарат через программатор.
Очень немногим помогла прошивка через кнопку DOWNLOAD со всеми установленными галочками.

(8200 или 0x2008) SP FLASH TOOL ERROR
Возникает если вы пытаетесь прошить аппарат на одной платформе, прошивкой от другого (например у вас mt6577, а вы пытаетесь прошить прошивкой от аппарата на mt6575 и т.д.)
Также может помочь смена версии прошивальщика.

(8417 или 0x20E1) SP FLASH TOOL ERROR: The load scatter file is invalid!
Уберите из пути к скаттер-файлу иероглифы и уменьшите длинну пути до него.
К примеру, такой путь будет нормальным D:\JIAYU\S3\1_FLASH\S3s(3gb)-20150204-161147\MT6752_Android_scatter.txt
А вот такой выдаст ошибку D:\JIAYU\S3\1_FLASH\S3-20150204-161147线刷\MT6752_Android_scatter.txt

Скачать программу SP Flash Tool можно здесь.

Media Upload Issue Since 4.5 Upgrade

Reported by:unicornbaconOwned by:joemcgill
Milestone:Future ReleasePriority:normal
Severity:criticalVersion:
Component:MediaKeywords:needs-testing needs-patch
Focuses:Cc:

Description

Here is my problem: Since I updated to 4.5 yesterday, I can’t upload certain image files. Every time I try, I get an error stating:

Fatal error: Maximum execution time of 30 seconds exceeded in /home2/scarlett/public_html/germany/wp-includes/class-wp-image-editor-imagick.php on line 358

I finally figured out that the problem is with the photograph’s dimensions. All of the photos that won’t upload were rotated from landscape to portrait on import. Their dimensions are 3000×4000 rather than 4000×3000 like the photos that I can still upload. After trying to save the photos without their metadata, turning off all plugins, and various other edits and experiments, it turns out that for some reason I only get the «imagick»» error on the photos that have a dimension of 3000×4000. Changing it to 2250×3000 (or anything less than 4000 for the height) allows me to upload them. I had no problem uploading files with this designation before I updated to 4.5. Everything else about the files is identical, and the file sizes do not conform to any kind of pattern and are not particularly large or small. As test, I tried to re-upload a photo that had this exact same ratio that I had uploaded successfully yesterday, and it would not upload today. This leads me to believe that there is something going on WP’s end, since nothing has changed on the server side in the last 24 hours (and sadly my auto-backup was turned off somehow so now I am stuck with this).

Attachments (3)

Change History (133)

#1 @ adamsilverstein
6 years ago

Hi @unicornbacon thanks for the bug report (and awesome handle!)

The error Maximum execution time of 30 seconds exceeded tells us that your web server has run out of time trying to process the images you are uploading. Increasing the ​ max execution time should solve your issue.

As you may know, every time you upload an image to WordPress, the server resizes the upload into several sizes for use on the front end of the site. By default there are thumbnail (small), medium and large sizes and themes and plugins can add additional sizes.

In WordPress 4.4 and 4.5 we have been changing and improving image handling with several goals including faster/small images for faster loads/less space on small image sizes, and new large sizes to provide responsive image sizes (images that display well on hi def monitors, ie ‘retina’). These additional sizes and better compression mean more work on the server side when uploading.

#2 @ smashingjay
6 years ago

@adamsilverstein with all due respect I believe this to be a bug. I was notified of this exact issue from a user of our hosting service. I was able to replicate the http error on the site no matter how small or large the image. At first I assumed as you did, they were trying to upload large images but then noted that the error occurred instantly (not after 30 seconds) as I tailed the error.log in another window. In my tests, everything from a 14KB postage stamp size jpg to a 1MB file causes 4.5 to throw this error instantly, not after a 30 second server timeout.

This same issue was reported in the forums: ​ https://wordpress.org/support/topic/http-errors-on-media-uploads-after-45-update and appears to be related to calling or how Imagick is called/used since 4.5.

Environment I was testing on was PHP 5.6.20, Imagick 6.7.2-7 2015-02-27 (Module 3.4.1), WP 4.5.

#3 @ adamsilverstein
6 years ago

@smashingjay thanks for re-opening and apologies for closing if the issue isn’t what I described.

I will try to replicate the issue locally by matching your stated config as best I can; did you try the fixes mentioned on the support ticket and did they resolve the issue for you?

#4 @ smashingjay
6 years ago

Hi @adamsilverstein I was seeing the exact error message (the line number in the file is still within the Imagick section of the file):

[19-Apr-2016 19:18:41 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /www/wp-includes/class-wp-image-editor-imagick.php on line 338

And inside the WP media manager it shows HTTP Error «filename.jpg» where the filename is the name of the file attempted to be uploaded.

I’ll confer with our hosting customer about this. I do not want to alter the functions.php file on a live site without permission. I’ll ask him if the fix corrected his issue and post back.

#5 follow-up: ↓ 6 @ unicornbacon
6 years ago

I can’t even upload photos from my smartphone that are in portrait mode. I tried scaling down my cameras settings as far as they will go and I still couldn’t upload things that were in portrait mode. I tried Using photo editing software to scale down my photos as far as 35% and that STILL didn’t work. My files are now under 600kb in size and well below 1500×1500 in dimensions and if I am lucky they MIGHT upload 1 out of every 4, even though I can’t find anything different about the files. I can’t change my php.ini or htaccess files because my webhost doesn’t allow those changes. Again, this was NEVER a problem before this upgrade. Not once in the 8 years I have had my website and been using WordPress on this webhost. The only other solution is to try and manually reinstall a previous release of WordPress, but 1. That’s a pain for a non-coder like myself and 2. That will only last so long before I will be forced to upgrade and will still have broken work. This isn’t just a vanity blog, I am a student doing once-in-a-lifetime field work overseas, and much of my work hinges on my ability to share my photographs with my faculty back home. If I can’t do this effectively, I am screwed.

#6 in reply to: ↑ 5 ; follow-up: ↓ 7 @ smashingjay
6 years ago

@unicornbacon you may wish to try the fix here: ​ https://wordpress.org/support/topic/http-errors-on-media-uploads-after-45-update?replies=24#post-8300481 which should be relatively easy and would also prove out the issue further, that it relates to Imagick.

#7 in reply to: ↑ 6 ; follow-up: ↓ 68 @ unicornbacon
6 years ago

@unicornbacon you may wish to try the fix here: ​ https://wordpress.org/support/topic/http-errors-on-media-uploads-after-45-update?replies=24#post-8300481 which should be relatively easy and would also prove out the issue further, that it relates to Imagick.

Oh! THANK YOU!! That worked! I added that code to the functions.php page, and so far, I have been able to upload everything that has been failing since the 4.5 update! Thank you kind stranger! You have snatched my dreams from the jaws of oblivion!

#8 @ crscrk
6 years ago

#9 @ joemcgill
6 years ago

@ joemcgill
6 years ago

#10 @ joemcgill
6 years ago

After spending some time digging into this issue, I believe this very well may be related to a longstanding ImageMagick issue when multiple threads are available using OpenMP (see: ​ https://github.com/mkoppanen/imagick#openmp). The patch in 36534.diff​ fixes this by forcing Imagick to use a single thread.

I will also add that the OpenMP issue has been an problem since before 4.5, but version 4.5 magnifies the problem by using extra memory during processing.

Can any of you experiencing this issue please try applying the patch and see if this resolves the issue for you?

#11 @ NealGhoshal
6 years ago

This is a problem for me on all my websites since updating to 4.5

The one thing that has worked was adding this

SetEnv MAGICK_THREAD_LIMIT 1

to the top of my htaccess file

Please WordPress fix this properly with an update. Thanks.

#12 @ joemcgill
6 years ago

Even though limiting Imagick inside WordPress to only one thread will fix this issue for people affected by the OpenMP issue, this really is a configuration issue with the hosting provider that should be addressed. There are most likely valid setups where Imagick can be configured to use multiple threads, and it would be unfortunate to keep people from doing so.

I’m curious how many hosts are affected by this issue. If it’s only a few, perhaps reaching out to have them fix ImageMagick on their end would be preferable.

SetEnv MAGICK_THREAD_LIMIT 1

#13 @ smashingjay
6 years ago

This ticket was mentioned in ​ Slack in #core by azaozz. ​ View the logs.

#15 follow-up: ↓ 18 @ SergeyBiryukov
6 years ago

I’ve seen some similar topics on the forums after the 4.5 upgrade, moving for 4.5.1 consideration.

#16 @ joemcgill
6 years ago

There are several reasons why larger images could cause these failures, but most likely are due to the server running out of memory during the multi-resize process (related: #22869).

The increased compression in 4.5 makes these failures somewhat more common, it would seem. 36534.diff​ fixes one possible reason for memory exhaustion when Imagick isn’t configured correctly, but the side effect is that people ​legitimately​ wanting to do multi-threaded image processing will no longer be able to (without some custom code).

Even if we do ship 36534.diff​ in a 4.5 minor release to provide some relief, we should reevaluate in 4.6 in the following ways:

#17 @ smashingjay
6 years ago

In my tests I was also experiencing this with tiny images in the sub 100K size, in fact I tried with 14KB JPG and it throws an HTTP Error almost instantly not after exhausting CPU or available memory. I concede that the OpenMP being available on servers where it shouldn’t be is a problem and I’d hate for folks to not be able to take legitimate advantage of multi-threading if available.

#18 in reply to: ↑ 15 @ F J Kaiser
6 years ago

Sorry, but imo this is a mustfix. WP takes a clear stance in the PHP version discussion because of hosters not upgrading. The clear consequence then is to fix this on the WP side. The amount of complaints in the w.org support forums states that this affects more than enough people.

#19 @ adamsilverstein
6 years ago

#20 @ smashingjay
6 years ago

@adamsilverstein I’ll have to check. My WP is on nginx server so I suspect only the patch will work. I’ll come back with results soon.

This ticket was mentioned in ​ Slack in #core by adamsilverstein. ​ View the logs.

#22 @ adamsilverstein
6 years ago

Unfortunately this fix isn’t ready in time for 4.5.1, punting for consideration in 4.5.2.

#23 @ smashingjay
6 years ago

@adamsilverstein the patch fixed it for me. My newer tests on the same environment before showed that I only got the http error and the following when using an image over 600KB:

My previous tests were erroring on any image large or small. Again the patch fixed the issue.

This ticket was mentioned in ​ Slack in #core-images by joemcgill. ​ View the logs.

#25 follow-up: ↓ 27 @ aldon
6 years ago

also check the http error when uploading photos on media. some working fixes:

on functions.php on theme add this

#26 @ joemcgill
6 years ago

Thanks for the feedback. The first fix you mention is actually just forcing WordPress to use GD instead of Imagick, which is a possible workaround, but doesn’t fix the root issue.

The second suggestion is another way of implementing the same fix suggested in 36534.diff​, which I would suggest trying first.

#27 in reply to: ↑ 25 @ tmm63
6 years ago

I added this the lines to my functions.php file and it worked. I would like to understand exactly what this is doing. 🙂 And a permanent fix would be desireable. Thank you @unicornbacon for reporting the issue!

also check the http error when uploading photos on media. some working fixes:

on functions.php on theme add this

#28 @ jiuzton
6 years ago

I installed a fresh wordpress today, this is an issue. I tried a combination of every solution listed here (.htaccess/functions.php/.diff modification) as well as other techniques around. But I still have the issue. Mobile app won’t upload either. peace.

This ticket was mentioned in ​ Slack in #core-images by kaiser. ​ View the logs.

#30 @ guibernardi
6 years ago

Any news about this issue?

Yesterday I installed the WP 4.5 and I’m having trouble with this bug.
I don’t want to edit the files listed on the solution listed above, so is there any comming update to fix it?

#31 @ ManagerJosh
6 years ago

I was doing some debugging earlier and it *appears* that by using PHP 5.6 it resolves itself.

#32 @ smashingjay
6 years ago

@ManagerJosh I seriously doubt that many are running PHP 7 unless on their local environments. Many shared/vps hosts are still

#33 @ krhefley
6 years ago

For the record, I’m running php version 5.6.

#34 @ jiuzton
6 years ago

.htaccess / functions.php *Does not fix the problem

#35 @ rgoldoni
6 years ago

Really, this is a very big issue which WordPress must solve as soon as possible.

It is not acceptable a lot of websites to be «frozen» because it is impossible to update with new images.

Is there any idea of when will be that solved?

#36 @ ocean90
6 years ago

#37 @ guibernardi
6 years ago

Well. I updated the PHP version and it works. I understand that is simple to update and solve this issue, but most of my friends just use the WordPress for blogging or have their own business site and don’t know how to update the PHP version, they don’t even know what is PHP.

So I think this is a big issue and must solve as soon as possible.

This ticket was mentioned in ​ Slack in #core by swissspidy. ​ View the logs.

This ticket was mentioned in ​ Slack in #core-images by mike. ​ View the logs.

#40 @ Chaton666
6 years ago

Hi there,
same bug here.
WordPress MU 4.5.1

#41 @ FrankEck
6 years ago

Hi. have had the same problem and two actions solve the problem:

1) downgrade to php 5.6 (from 7)
2) add the 3-liner to the functions.php

Edit: Sorry, problem comes up with v4.5 and 4.5.1

#42 @ Chaton666
6 years ago

Edit: Nope, finally it works just for one image.

This ticket was mentioned in ​ Slack in #core by ocean90. ​ View the logs.

#44 @ rogerstone26
6 years ago

I also had problems with image loading. I could load large files and small images (up to 1MB) but every time I tried to load an image >1MB, there was an «HTTP error» message.

Tried the suggestion set out above of setting the thread limit to 1 but it did not work (possibly I did not put the instruction in the right place).

Eventually solved, after talking to my hosting company, by adding a php5.ini file in my root directory:

memory_limit = 256M ; Maximum amount of memory a script may consume
max_execution_time = 300 ;

I am running WP 4.5.1, hosted by GoDaddy

This ticket was mentioned in ​ Slack in #core-images by ocean90. ​ View the logs.

#46 @ joemcgill
6 years ago

#36764 was marked as a duplicate.

#47 follow-ups: ↓ 48 ↓ 49 ↓ 127 @ swissspidy
6 years ago

I’m a bit worried about seeing so many reports of breakage.

@ all: If you’re affected by this bug, it would be great if you could test 36534.diff​ by applying those changes to wp-includes/class-wp-image-editor-imagick.php and write here if it works.

@joemcgill How confident would you be with shipping 36534.diff​ in 4.5.3 and improve things in 4.6 as you previously suggested?

#48 in reply to: ↑ 47 @ mouriana
6 years ago

I’m a bit worried about seeing so many reports of breakage.

@ all: If you’re affected by this bug, it would be great if you could test 36534.diff​ by applying those changes to wp-includes/class-wp-image-editor-imagick.php and write here if it works.

@joemcgill How confident would you be with shipping 36534.diff​ in 4.5.3 and improve things in 4.6 as you previously suggested?

Warning: Illegal String Offset ‘Width’ In /src/Wp-Content/Themes/Nisarg/Image.Php On Line 31

Warning: Illegal String Offset ‘Height’ In /src/Wp-Content/Themes/Nisarg/Image.Php On Line 32

The image is likewise unusable, though I can see it.
Now, if I turn off all my plugins (I only have Jetpack, Event Calendar WD, and Akismet running) AND shrink one of these images by 50% (75% doesn’t do it) and try to upload it, it actually crunches it (it doesn’t normally do this), and works. However, if I do all those steps except only shrink it to 75%, it TRIES to crunch it, and I get this error:
Fatal error: Out of memory (allocated 39845888) (tried to allocate 450 bytes) in /src/wp-includes/media.php on line 2751

I am using 1and1 for my host and as far as I can tell the size is set correctly on the host end (plus this is behaving erratically from site to site, all of which are hosted on the same package). I can call them, but by now I am tired. 😛

Hope that wasn’t too much information; I’m new enough to this that I’m trying to be thorough.

#49 in reply to: ↑ 47 ; follow-ups: ↓ 50 ↓ 54 @ mikeschroder
6 years ago

@joemcgill and I worked with a couple larger hosts that had this issue, who worked quickly to resolve it (thank you!).

For those who reported, if you could test again it’d be helpful.

If you’re still having problems, please include the following information so that we can investigate further:

And from phpinfo() :

#50 in reply to: ↑ 49 @ mouriana
6 years ago

I ran all kinds of code to find the Imagick/ImageMagick version, and it kept telling me it didn’t know what I was talking about. :-/

At any rate, the support guy at 1and1 was not helpful, but my husband, who is a web developer and finally got home, seemed to know more about what’s up, because he was giving me a hard time for trying to upload too big of files (I told you I was a n00b to this stuff!) so I’m going to try some other things.

At least this is better than cleaning the house. 😛

@joemcgill and I worked with a couple larger hosts that had this issue, who worked quickly to resolve it (thank you!).

For those who reported, if you could test again it’d be helpful.

If you’re still having problems, please include the following information so that we can investigate further:

And from phpinfo() :

This ticket was mentioned in ​ Slack in #core-images by joemcgill. ​ View the logs.

This ticket was mentioned in ​ Slack in #core by adamsilverstein. ​ View the logs.

This ticket was mentioned in ​ Slack in #core-images by joemcgill. ​ View the logs.

#54 in reply to: ↑ 49 ; follow-up: ↓ 56 @ anonymized_8660175
6 years ago

I have tried the patch ( 36534.diff) without luck. imagick is not installed in my server, so the problem must be related to other things. OR maybe i get the error because imagick is not installed. Is imagick required now?

I get the HTTP-error instantly when trying to upload an image. Not after or during processing but instantly.

Sometimes when I save a post after the error, the image is somehow showing up in the editor just fine. But only sometimes maybe 1 out of 3 times.

Here is my info:

PHP Version 5.3.3
memory_limit 128M
max_execution_time 60
max_input_time 60
upload_max_filesize 128M
post_max_size 8M

This ticket was mentioned in ​ Slack in #core by adamsilverstein. ​ View the logs.

#56 in reply to: ↑ 54 @ mikeschroder
6 years ago

I have tried the patch ( 36534.diff) without luck. imagick is not installed in my server, so the problem must be related to other things. OR maybe i get the error because imagick is not installed. Is imagick required now?

Was this a problem with WordPress 4.4 for you as well?

I’d suggest contacting your host, or posting in the WP support forums if the problem continues (and you haven’t already).

This ticket was mentioned in ​ Slack in #core-images by mike. ​ View the logs.

#58 @ joemcgill
6 years ago

While doing additional profiling/research for this ticket, I’m noticing that the new compression settings introduced in 4.5 can result in an increase in total wall time while creating images, while memory used is generally the same, so we could be running into time limits that are being applied to ImageMagick on hosts (via their policy.xml settings, for example). Here’s the data from an example run:

XHProf run of an image in 4.5
Total Incl. Wall Time (microsec): 2,018,447 microsecs
Total Incl. CPU (microsecs): 1,851,793 microsecs
Total Incl. MemUse (bytes): 4,452,312 bytes
Total Incl. PeakMemUse (bytes): 4,805,744 bytes

XHProf run of an image in 4.4
Total Incl. Wall Time (microsec): 1,676,827 microsecs
Total Incl. CPU (microsecs): 1,092,302 microsecs
Total Incl. MemUse (bytes): 4,449,392 bytes
Total Incl. PeakMemUse (bytes): 4,794,664 bytes

The difference is almost entirely a result of the switch to using Imagick::resizeimage instead of Imagick::scaleimage introduced in [36891]. We’re using Imagick’s FILTER_TRIANGLE within the resizeImage() function, which produces the best results considering file size savings, image quality, and performance, but is still more resource intensive than if we were to use FILTER_BOX which is the default (I believe).

While WP_Image_Editor_Imagick::thumbnail_image() accepts alternate filters as a parameter, there really is no easy way for users to alter this value unless we were to add a filter before Imagick::resizeimage is called.

We may also be able to check the value of Imagick::getResourceLimit and conditionally use the FILTER_BOX filter when the available resource time is low, but I’m not sure.

#59 @ Chaton666
6 years ago

Some news.
The patch 36534.diff works if the uploaded images size are less than 200 Ko.
(WP MU 4.5.2, 1&1 hosting)

Training: RuntimeError: shape. is invalid for input of size. #94

Comments

Pawankhatri2k13 commented Feb 18, 2019 •

WARNING: Multiple GPUs detected but no distributed group set
Only running 1 GPU. Use distributed.py for multiple GPUs
output directory checkpoints
Epoch: 0
Traceback (most recent call last):
File «train.py», line 175, in
train(num_gpus, args.rank, args.group_name, **train_config)
File «train.py», line 110, in train
for i, batch in enumerate(train_loader):
File «/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py», line 637, in next
return self._process_next_batch(batch)
File «/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py», line 658, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
RuntimeError: Traceback (most recent call last):
File «/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py», line 138, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File «/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py», line 138, in
samples = collate_fn([dataset[i] for i in batch_indices])
File «/workspace/waveglow/waveglow/mel2samp.py», line 102, in getitem
mel = self.get_mel(audio)
File «/workspace/waveglow/waveglow/mel2samp.py», line 82, in get_mel
melspec = self.stft.mel_spectrogram(audio_norm)
File «/workspace/waveglow/waveglow/tacotron2/layers.py», line 76, in mel_spectrogram
magnitudes, phases = self.stft_fn.transform(y)
File «tacotron2/stft.py», line 84, in transform
input_data = input_data.view(num_batches, 1, num_samples)
RuntimeError: shape ‘[1, 1, 16000]’ is invalid for input of size 32000

The text was updated successfully, but these errors were encountered:

Image rewriting check-fails on images with invalid dimensions #1078

Comments

jeffkaufman commented May 13, 2015

When image_rewrite_filter optimizes a truncated image it can CHECK-fail:

This shouldn’t happen. Invalid images should only generate kInfo messages and +debug comments.

The text was updated successfully, but these errors were encountered:

jeffkaufman commented May 13, 2015

jeffkaufman commented May 13, 2015

The comment on Dimensions is:

So in addition to removing the DCHECK we should update the debug message.

morlovich commented May 13, 2015

Probably better change the if to be

jmaessen commented May 13, 2015

Hmm, this was a DCHECK because we should be checking this at the caller.
It’d be good to add a test case if we’re not doing that.

On Wed, May 13, 2015 at 1:41 PM, Jeff Kaufman notifications@github.com
wrote:

When image_rewrite_filter optimizes a truncated image it can CHECK-fail:

[Wed May 13 11:51:21 2015] [alert] [mod_pagespeed 1.10.0.0-7210 @23900] [0513/115120:FATAL:image_rewrite_filter.cc(807)] Check failed: image_dim.width() > 0 && image_dim.height() > 0.
third_party/chromium/src/base/debug/stack_trace_posix.cc:475: base::debug::StackTrace::StackTrace [0x2b835547e00c]
third_party/chromium/src/base/logging.cc:562: logging::LogMessage::

LogMessage [0x2b835547f40d]
net/instaweb/rewriter/image_rewrite_filter.cc:807: net_instaweb::ImageRewriteFilter::ResizeImageIfNecessary [0x2b835556859e]
net/instaweb/rewriter/image_rewrite_filter.cc:1005 (discriminator 2): net_instaweb::ImageRewriteFilter::RewriteLoadedResourceImpl [0x2b8355569381]
net/instaweb/rewriter/image_rewrite_filter.cc:439 (discriminator 3): net_instaweb::ImageRewriteFilter::Context::RewriteSingle [0x2b83555660c9]
net/instaweb/rewriter/single_rewrite_context.cc:80 (discriminator 1): net_instaweb::SingleRewriteContext::Rewrite [0x2b83555bc8cc]
net/instaweb/rewriter/rewrite_context.cc:1204: net_instaweb::RewriteContext::InvokeRewriteFunction::Run [0x2b83555b44fe]
pagespeed/kernel/base/function.cc:52: net_instaweb::Function::CallRun [0x2b8355760ea6]
pagespeed/kernel/thread/queued_worker_pool.cc:164: net_instaweb::QueuedWorkerPool::Run [0x2b83557a89a9]
./third_party/pagespeed/kernel/base/function.h:202 (discriminator 3): net_instaweb::MemberFunction2 ::Run [0x2b83557af9ea]
pagespeed/kernel/base/function.cc:52: net_instaweb::Function::CallRun [0x2b8355760ea6]
pagespeed/kernel/thread/worker.cc:81 (discriminator 1): net_instaweb::Worker::WorkThread::Run [0x2b83557b52e4]
pagespeed/kernel/thread/pthread_thread_system.cc:123: net_instaweb::PthreadThreadImpl::InvokeRun [0x2b83559c1d9b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x2b8354be4182]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x2b83550f847d]

This shouldn’t happen. Invalid images should only generate kInfo messages
and +debug comments.


Reply to this email directly or view it on GitHub
#1078.

Question: Q: «The Dimensions of this File are Invalid»

I backed up some photos from a series of iphones into a windows 8 machine from about 2012-2016 mostly using the automated way windows would back up photos into organised photos.

I have icloud as (probably like most people) I am paranoid about loosing the 10,000 of photos we take as part of a normal family life now. I backed up rather fanticly not caring whether I created duplicates. Also when backing up from multiple iphones I have noticed it looks to have created similar or identical names for different photos.

I have had many problems when trying to upload these old photos. I am disapointed that it simply cant handle folder by folder as each folder contains about 1000 photos and it simple crashes. I have taken to uploading 50-200 photo chunks which has much fewer errors but I get repeated issues with some, seeminly random, files that produce the error » The Dimensions of this File are Invalid «.

Remember these files were copied straight from iphones, to a machine and now want back on icloud.
They have not been edited and I can see no difference from the ones in which I have no issue.
Any ideas? This error is making a difficult and confusing job of backing up.

If it continues I may have to simple ditch icloud and go with an alternative and I can tell you that icloud was one of the main reasons I buy an apple product at all so I am close to ditching the brand if these issues continue. I simply dont think I would get these problems with other file backup software as nobody seems to treat windows users with contempt quite the way Apple seems to.

Что означает ошибка ReferenceError: Invalid left-hand side in assignment

Скорее всего, вы используете оператор присваивания вместо сравнения.

Ситуация: вы пишете код, который обрабатывает нажатия на клавиши для управления в игре. Вы вспоминаете, что нужно сделать отдельную функцию для проверки на попадание в цель. Для этого вы хотите сравнить текущие координаты с координатами цели — если они совпадают, то есть попадание. В результате получается такой код:

Но при запуске игра падает с ошибкой:

❌ ReferenceError: Invalid left-hand side in assignment

Что случилось: браузер видит условный оператор if и хочет выполнить сравнения в скобках. Если равенство выполняется, то условие истинно и можно выполнить команду вывода на экран. Но вместо сравнения браузер встречает оператор присваивания, понимает, что ему тут не место, и останавливает программу.

Чтобы ошибки не было, нужно использовать не один знак равенства, а два. Один — присваивание, два — сравнение:

Когда встречается: когда мы делаем что-то не то с левой частью выражения — присваиваем вместо сравнения или перенаправляем вывод в переменную, которая не предназначена для такого. Ещё такая ошибка бывает, когда что-то пытаются присвоить ключевому слову this — оно хоть и похоже на переменную по поведению, но присваивать ему новое значение так нельзя.

Как исправить ошибку ReferenceError: Invalid left-hand side in assignment

Скорее всего, вы используете присваивание вместо сравнения. Это частая ошибка у новичков, потому что в математике знак «=» означает именно равенство.

Если дело не в этом, то вот вопросы, которые помогут вам с поиском ошибки:

Попробуйте сами

Задание со звёздочкой: есть такой фрагмент кода на странице

И есть такой скрипт, который при нажатии на кнопку падает с нашей ошибкой:

Investigating curious case of «Invalid dimension id 144» #4931

Comments

YoungCP commented May 16, 2018

At present, not 100% sure on reproduction, might be Java 8 u172?

Time: 5/16/18 2:17 AM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Compact Machines 3 (compactmachines3)
Caused by: java.lang.IllegalArgumentException: Invalid dimension id 144
at net.minecraft.world.DimensionType.func_186069_a(DimensionType.java:77)
at net.minecraftforge.common.DimensionManager.registerDimension(DimensionManager.java:116)
at org.dave.compactmachines3.world.tools.DimensionTools.registerDimension(DimensionTools.java:19)
at org.dave.compactmachines3.CompactMachines3.preInit(CompactMachines3.java:57)

DimensionManager.java:116 A two year old line of code.

Finally throws an error.

Is this check even valid?

The text was updated successfully, but these errors were encountered:

SquidDev commented May 16, 2018

I believe this is related to #3885?

YoungCP commented May 16, 2018 •

In the file, I added 2 directives (this may be overkill);

But it does indeed appear to have alleviated the problem. (5 launches of SevTech Ages w/ some extra mods that register dimensions)

I believe that the mysterious 55 dimension limit mentioned in the other ticket was definitely related to the interpreter switching over to the compiler.

3 способа обойти ошибку, совместимую с d3d11 GPU

Если вы геймер, почти наверняка вы столкнулись с d3d11-совместимым графическим процессором, необходимым для запуска ошибки движка. Это распространенная проблема в мире компьютерных игр, которая отнимает время, которое вы могли бы потратить на игры.

Наиболее распространенным источником ошибок D3D11 является неисправный файл d3d11 в программном обеспечении DirectX, но ошибки также могут указывать на проблему с реестром или вирусом.

Если вы столкнулись с этой ошибкой, прочитайте до конца, чтобы узнать, как ее обойти.

Что такое графический процессор D3D11?

Графический процессор широко используется в обработке графики и видео из-за его возможностей параллельной обработки.

Хотя термины GPU и видеокарты используются одинаково, между ними есть разница. Видеокарта — это дополнительная плата, на которой размещается графический процессор, как и на материнской плате. Вы также найдете множество необходимых компонентов для питания и установки графического процессора на этой плате.

Карта Direct3D действует как библиотека для доступа к карте для обработки графики и аппаратного ускорения.

В последнее время широко используется D3D11. Этот новый вариант библиотеки включает обновленные функции и может повысить визуальную ясность.

Как проверить свой GPU?

После проверки того, активирован ли он, рекомендуется обновить драйверы графического процессора. В следующем разделе вы узнаете, как это сделать в Windows 11. Читайте дальше.

Как вы обновляете свой GPU?

Чтобы сэкономить время и избежать устаревших драйверов в будущем, вы можете использовать DriverFix. Он использует обширную базу данных драйверов для проверки ваших драйверов и установки новых версий, как только они станут доступны.

Что я могу сделать, если он говорит, что требуется совместимый графический процессор d3d11?

Windows 11

В качестве альтернативы может потребоваться полная замена графического процессора. Если он старше пяти лет, возможно, его пора менять, так как игровой движок использует другие графические компоненты.

Windows 10

Windows 7

Как исправить несовместимую с Fortnite видеокарту

Графический процессор Fortnite, совместимый с D3D11

Чтобы играть в Fortnite, на вашем устройстве должен быть установлен совместимый компонент D3D11. Если вы этого не сделаете, вы можете столкнуться с некоторыми ошибками. Решение исправить ошибку — обновить версию Windows.

Спасибо, что прочитали эту статью, и не забудьте поделиться своими мыслями в разделе комментариев.

TypeError: Invalid dimensions for image data when plotting array with imshow()

For the following code

with new_SN_map being a 1D array and mean_SN and sigma_SN being constants, I get the following error.

What is the source of this error? I thought my numerical operations were allowed.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

1 Answer 1

There is a (somewhat) related question on StackOverflow:

Here the problem was that an array of shape (nx,ny,1) is still considered a 3D array, and must be squeeze d or sliced into a 2D array.

More generally, the reason for the Exception

TypeError: Invalid dimensions for image data

is shown here: matplotlib.pyplot.imshow() needs a 2D array, or a 3D array with the third dimension being of shape 3 or 4!

The np.asarray is what is done internally by matplotlib.pyplot.imshow so it’s generally best you do it too. If you have a numpy array it’s obsolete but if not (for example a list ) it’s necessary.

In your specific case you got a 1D array, so you need to add a dimension with np.expand_dims()

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

or just use something that accepts 1D arrays like plot :

Error: TypeError: Invalid dimensions for image data #44

Comments

sudonto commented Jun 11, 2019 •

I am working with 3D conv, is it compatible with your lib? Thanks (again)!

The text was updated successfully, but these errors were encountered:

qwertpi commented Jun 11, 2019

I’m guessing 3D convs won’t work in terms of displaying but will be retrieved by keract fine. As you can see when running display_activations keract uses matplotlib which correctly complains that it can’t show 3D images (think about it, how do you expect to see these 3D images on your 2D monitor anyway?)

sudonto commented Jun 11, 2019

Well, I’m expecting Keract to handle «the stacked images» internally, splitting and feeding it to matplotlib.

qwertpi commented Jun 11, 2019 •

Well, I’m expecting Keract to handle «the stacked images» internally, splitting and feeding it to matplotlib.

IE11: Invalid dimensions for plot #13118

Comments

stuart-brierley-db commented Sep 3, 2018

I’ve installed Grafana 5.2.2 and I’m using the graph panel but in some circumstances I get an ‘Invalid dimensions for plot, width = 875, height = 0’ when using Internet Explorer 11. I do not see the error in Chrome. I am also using the ‘Grafana internals’ dashboard which I have downloaded and one of the chart panels is giving me this error. In some cases, viewing the chart in full page will work correctly and other times it will not. Any idea what is wrong?

What Grafana version are you using?

What datasource are you using?

Custom datasource and Prometheus

What OS are you running grafana on

What did you do?

Open a dashboard

What was the expected result?

What happened instead?

Error: ‘Invalid dimensions for plot, width = 875, height = 0’

If related to metric query / data viz:

Include raw network request & response: get by opening Chrome Dev Tools (F12, Ctrl+Shift+I on windows, Cmd+Opt+I on Mac), go the network tab.

The text was updated successfully, but these errors were encountered:

marefr commented Sep 3, 2018

stuart-brierley-db commented Sep 3, 2018

It’s not specific to that dashboard. We had the same issue with a dashboard we created. I was just using it as an example. I will try and capture the error in screen shots.

stuart-brierley-db commented Sep 5, 2018 •

@marefr Our corporate security prevents us from uploading files like screenshots. Is there an email address I can send them to?

marefr commented Sep 5, 2018

@stuartbrierley1 first letter of my first name followed by my lastname at grafana.com

marefr commented Sep 6, 2018

@stuartbrierley1 I can reproduce it using this dashboard on play.grafana.org, https://play.grafana.org/d/9R5_J_2mk/graph-panel-with-lots-of-series?orgId=1. The three panels have the same amount of series. When using IE11 the panel at top left is resulting in «Invalid dimensions for plot» for me, but not the others.

However, we only support IE11 in a best effort manner. This is not something that we’ll focus on fixing if not a lot of users reports the same problem or upvotes this issue. We accept pull requests if your interested in giving it a go with a fix.

Will close this, but will consider reopening if you submit a pull request with a fix and/or we got more reports or a lot of upvotes from other users.

crazychatting commented Sep 10, 2018 •

So all in all the Workaround solution «Don’t use IE11» is not acceptable, solution 2 would also not fit on the dashboard.
It would be really nice if you could fix this for IE, that the legend will be displayed under/after the graph, so that the graph has prio 1 for the view 🙂

Edit: we are using V5.2.3
Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Catch ValueError during file upload #119

Comments

tissole commented May 28, 2021

Description

I tried to upload a folder with a large number of small images (all under 1Mb) and got this error: «OSError: [Errno 24] Too many open files»

What I Did

I believe that this error was triggered by the huge number of files so I split the big folder into small folders of 2000 files each. Then I got this error: «telethon.errors.rpcerrorlist.PhotoInvalidDimensionsError: The photo dimensions are invalid (hint: pip install pillow for send_file to resize images) (caused by SendMediaRequest)»

I installed pillow and I tried again, but no luck, this time the error was: «ValueError: read less than 131072 before reaching the end; either file_size or read are wrong»

So I’m stuck here. Any ideas on how to resolve this?

The text was updated successfully, but these errors were encountered:

Nekmo commented Jun 1, 2021

Can you put the full traceback to find where the problem occurs? Thanks!

tissole commented Jun 3, 2021

The first test is with a very big folder containing almost 21.000 small images, the majority under 1 MB each, mostly jpg, and a few png and gif. The log:

File «D:\TeleGram\telegram-upload-master\venv\Scripts\telegram-upload-script.py», line 33, in
sys.exit(load_entry_point(‘telegram-upload==0.4.0’, ‘console_scripts’, ‘telegram-upload’)())
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\telegram_upload\exceptions.py», line 54, in wrap
return fn(*args, **kwargs)
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\click\core.py», line 829, in call
return self.main(*args, **kwargs)
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\click\core.py», line 782, in main
rv = self.invoke(ctx)
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\click\core.py», line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\click\core.py», line 610, in invoke
return callback(*args, **kwargs)
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\telegram_upload\management.py», line 107, in upload
files = list(files)
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\telegram_upload\files.py», line 87, in next
return next(self._iterator)
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\telegram_upload\files.py», line 116, in get_iterator
yield self.process_normal_file(file)
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\telegram_upload\files.py», line 119, in process_normal_file
return File(file, force_file=self.force_file, thumbnail=self.thumbnail, caption=self.caption)
File «d:\telegram\telegram-upload-master\venv\lib\site-packages\telegram_upload\files.py», line 135, in init
super().init(path)
OSError: [Errno 24] Too many open files

The second test was done with a much smaller folder containing only 2000 such image files. This is the log:

Textures with dimensions non power of two get downscaled to power of two dimensions #13126

Comments

alinhulea commented Jan 17, 2018 •

Textures with dimensions non power of two get always downscaled to power of two dimensions. Previous algorithm was performing a «round» to aproximate power of two dimensions rather than floor.
Example :
r89: THREE.WebGLRenderer: image is not power of two (1638×2166). Resized to 1024×2048
r80: THREE.WebGLRenderer: image is not power of two (1638×2166). Resized to 2048×2048

Code in WebGLTextures.js r89:

Code in WebGLTextures.js r80:

Note: nearestPowerOfTwo is now deprecated and replaced with floorPowerOfTwo.

Three.js version
Browser

The text was updated successfully, but these errors were encountered:

WestLangley commented Jan 17, 2018

We did that on purpose. See #12201. What is the problem you are having?

alinhulea commented Jan 18, 2018

WestLangley commented Jan 18, 2018

Power-of-two textures are not required. Depending on your use case, another option may be:

alinhulea commented Jan 18, 2018

We use anisotropic filtering, mipmaps are are required.

mrdoob commented Jan 18, 2018

Even if you’re using anisotropic filtering I think you still need mipmaps.
https://gamedev.stackexchange.com/a/101012

alinhulea commented Jan 18, 2018

Yes, that Is what I was trying to say, that because of the anisotropic filtering we need to have the mipmaps and as a result the power of two dimensions. Regarding the alternative solution, I was trying to create a custom texture loader, code very similar to the built in TextureLoader, just creating a temporary resized canvas and setting it to the texture in the load handler, but for fome reason this way Gpu memory is not released properly, may be related to the Cache being enabled?

makc commented Jan 23, 2018

what about something like this:
Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

mrdoob commented Jan 24, 2018

That’s quite a hack 😁

mrdoob commented Jan 24, 2018

Regarding the alternative solution, I was trying to create a custom texture loader, code very similar to the built in TextureLoader, just creating a temporary resized canvas and setting it to the texture in the load handler, but for fome reason this way Gpu memory is not released properly, may be related to the Cache being enabled?

So the issue is. I actually don’t understand what the issue is anymore.

makc commented Jan 24, 2018

the issue is he is losing texture details. I guess what he really wants is some texture ‘resize policy’ setting, Idk:

to have someway to configure what resize algorithm/method

makc commented Jan 24, 2018

would it be less of a hack if 3js had

and users then could override this function?

Mugen87 commented Jan 24, 2018 •

alinhulea commented Jan 25, 2018

would it be less of a hack if 3js had

and users then could override this function?

@makc
Yes, this would be a solution.

Also, the proposed hack should work also, given that the «floorPowerOfTwo» function is not used elsewhere in the Three.js 🙂

From my point of view, this is something users need to handle in their apps. They should resize the image according to their ideas and then pass the new image to three.js

@Mugen87
We have tried as mentioned creating a resized canvas (similar to the code that three.js uses to convert to POT textures), but this solution it not quite optimal in terms of memory, I understand this would be related to issue #12469

So, as the downscale to POT was the intended behavior related to the resizing of the textures, I think this can be closed.
My question : it is possible to make the resize function configurable or have a property that configures what function should be used?

mrdoob commented Jan 30, 2018

So, as the downscale to POT was the intended behavior related to the resizing of the textures, I think this can be closed.

My question : it is possible to make the resize function configurable or have a property that configures what function should be used?

Ошибки при установке программ из пакета Windows Installer «.msi»

Вообще, меня это жутко бесит, т.к. после глупого сообщения об ошибке совсем непонятно что делать дальше. Microsoft специально разработали установщик Windows Installer для расширения возможностей установки программ (в основном это касается системных администраторов), но не позаботились должным образом о безглючной работе этой службы или хотя бы об адекватных сообщениях о проблемах. А нам теперь это разгребать 🙂

Неполадки могут быть с работой самой службы или могут возникать в процессе установки программ, когда всё настроено, в принципе, правильно. В первом случае нужно ковырять службу установщика, а во втором решать проблему с конкретным файлом. Рассмотрим оба варианта, но сначала второй.

Ошибки msi файлов

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

«Error reading from file «имя файла» verify that the file exists and that you can access it» (Error 1305). Переводится «Ошибка чтения из файла … проверьте существует ли файл и имеете ли вы к нему доступ». Ну не тупняк ли? Естественно, что кнопка «Повторить» не помогает, а отмена прекращает всю установку. Сообщение особой смысловой нагрузки также не несёт, т.к. файл точно существует и я имею к нему доступ, иначе бы просто не смог его запустить и получить это сообщение, к тому же почему-то на английском языке 🙂

А ошибка в том, что не Я должен иметь доступ к файлу, а установщик Windows, точнее сама Система. Решается очень просто:

Теперь ошибка установщика не появится! Можно добавить доступ на всю папку, из которой вы обычно инсталлируете программы, например на папку «Downloads», как у меня. Смотрим видео по решению проблем с правами доступа:

Ещё способы решить проблему

Описанный метод поможет при разных сообщениях, с разными номерами. Например, вы можете видеть такие ошибки файлов msi:

Во всех этих случаях должна помочь установка прав на файл и/или на некоторые системные папки. Проверьте, имеет ли доступ «система» к папке временных файлов (вы можете получать ошибку «Системе не удается открыть указанное устройство или файл»). Для этого:

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

После нажатия «Enter» путь преобразится на «нормальный» и вы переместитесь в реальную временную папку. Права на неё и надо проверять. Также рекомендую очистить временные папки от всего что там скопилось или даже лучше удалить их и создать новые с такими же названиями. Если не получается удалить папку, почитайте как удалить неудаляемое, но это не обязательно.

Если служба Windows Installer всё равно не хочет работать, то проверьте права на папку «C:\Config.Msi», сюда «система» также должна иметь полный доступ. В этом случае вы могли наблюдать ошибку «Error 1310». На всякий случай убедитесь, что к папке КУДА вы инсталлируете софт также есть все права.

Если вы используете шифрование папок, то отключите его для указанных мной папок. Дело в том, что хотя мы сами имеем к ним доступ, служба Microsoft Installer не может до них достучаться пока они зашифрованы.

Ещё ошибка может быть связана с битым файлом. Может быть он не полностью скачался или оказался битым уже на сервере. Попробуйте скачать его ещё раз оттуда же или лучше с другого места.

Ошибка установщика Windows

В случае общих проблем не будут устанавливаться никакие msi файлы, процесс установки, скорее всего, даже не начнётся. При этом могут появляться ошибки вида:

или ещё нечто подобное со словами «ошибка msi», «Windows Installer Error». Всё это означает, что система дала сбой и теперь её надо лечить. Может вы ставили какой-то софт, который испортил системные файлы и реестр, или подхватили вирус. Конечно, никогда не будет лишним удалить вирусы, или убедиться что их нет. Но оставьте этот вариант на потом, т.к. обычно проблема кроется в другом.

Сначала давайте проверим работает ли служба Windows Installer:

Следующее что я посоветую сделать – это выполнить команду сканирования системы на повреждённые и изменённые системные файлы. Нажмите «Win + R» и введите

Sfc /scannow

Произойдёт поиск и замена испорченных файлов на оригинальные, при этом может потребоваться вставить установочный диск с Windows XP-7-10. После окончания процесса перегрузитесь и посмотрите, решена ли проблема.

Microsoft сам предлагает утилиту, призванную решить нашу проблему. Запустите программу Easy Fix и следуйте мастеру.

Параметры реестра и службы

Следующий способ устранения ошибки – восстановление рабочих параметров в реестре установщика Windows Installer.

Для этого скачайте архив и запустите оттуда два reg-файла, соответственно своей версии Windows. Согласитесь с импортом настроек.

В Windows XP или Windows Server 2000 установите последнюю версию установщика 4.5.

Если не помогло, то проделайте ещё перерегистрацию компонентов:

Если пишет, что не хватает прав, то нужно запускать командную строку от имени Администратора.

Если команды выполнились, но не помогло, то скачайте файл и запустите msi_error.bat из архива, проверьте результат.

Последний вариант — скачайте программу Kerish Doctor, почитайте мою статью, там есть функция исправления работы службы установщика и многих других частых проблем Windows.

Подведение итогов

Ошибки с установщиком Windows очень неприятные, их много и сразу непонятно куда копать. Одно ясно – система дала сбой и нужно восстанавливать её до рабочего состояния. Иногда ничего не помогает и приходится переустанавливать Windows. Однако не торопитесь это делать, попробуйте попросить помощи на этом форуме. В точности опишите вашу проблему, расскажите что вы уже делали, какие сообщения получили, и, возможно, вам помогут! Ведь мир не без добрых людей 🙂

Отправка уведомлений и графиков из zabbix в telegram

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Я чаще всего использую стандартные уведомления от zabbix на почтовый ящик, это позволяет спокойно спать. Тем не менее, решил пойти в ногу со временем и попробовать настроить отправку оповещений из zabbix в популярный мессенджер telegram. К тому же я постоянно активно пользуюсь этим мессенджером и считаю его очень удобным.

Введение

Способов настройки уведомлений из заббикса в телеграм существует несколько. Их можно разделить по информативности:

Так же можно разделить по типу реализации:

Я постараюсь разобрать все возможные варианты. Идти будем от простого к сложному. Сначала настроим текстовые оповещения, потом добавим графики. Отправлять будем как в личку, так и в группу.

Я буду настраивать все в zabbix 5.0, установленный на Centos 8. Принципиального значения это не имеет, решение будет одинаково работать практически на всех дистрибутивах linux.

Если у вас еще нет своего сервера для мониторинга, то рекомендую материалы на эту тему. Для тех, кто предпочитает систему CentOS:

То же самое на Debian 10, если предпочитаете его:

Создание бота в telegram

Первым делом создадим бота, через которого будем слать оповещения из заббикса. Для этого добавляем себе в контакты @BotFather и пишем ему сначала /start, потом /newbot.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Мы создали бота для оповещений и получили для него token, который нам понадобится далее. Теперь нужно добавить в свой список контактов созданного бота. Для этого найдите его по имени. В моем случае имя @serveradminru_bot.

Теперь проверим, как работает отправка уведомлений через нашего бота. Для этого в консоли сервера набираем примерно такую команду:

Бот пришлет оповещение.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

В моем запросе изменяемые данные следующие:

210806260id моего аккаунта. Чтобы его узнать, добавьте бота @my_id_bot и напишите ему /start
Проверяю работу ботаТекст сообщения
bot1393668911:AAHDfgghTHgfhdfyX28R-wxKfvH1WR6-vdNwСлово bot и дальше token бота. Пишется все в одно слово.

Если все в порядке, двигаемся дальше. Это самая простая часть, тут не должно быть затруднений.

Отправка уведомлений в telegram через webhook

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Внутри увидите некоторые параметры. Можно так же посмотреть текст скрипта, который используется для отправки оповещений. В целом, тут сейчас не обязательно что-то менять. Дефолтные настройки полностью рабочие. Надо только указать токен бота.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Тут же можете шаблоны поправить так, как вам нравится. Это нововведение 5-й версии Zabbix — правка шаблонов оповещений в настройках самих оповещений. Это позволяет создавать для каждого типа свои шаблоны. Очень удобно.

Давайте теперь проверим отправку уведомлений через этот способ. Нажимайте Тест.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Я указал текст сообщения, заголовок, свой id и token бота. В итоге мне в личку пришло сообщение от бота.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Если хотите отправить оповещение в группу, то сначала создайте ее, а потом добавьте туда бота. Не потеряйте минус в id группы. Его тоже нужно указывать. Я сначала не понял этого и копировал id группы без минуса. В итоге, оповещения в группу не отправлялись.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Итак, убедились, что сообщения в telegram нормально отправляются. С технической стороны проблем нет. Теперь настроим отправку уведомлений по событиям. Я обычно для этого использую тестовый триггер. В стандартном шаблоне zabbix для OS Linux есть элемент данных Number of logged in users, который считает количество залогиненных пользователей. Я для него делаю триггер, чтобы он срабатывал, когда пользователей 2 и более. И с его помощью тестирую уведомления, просто подключаясь на сервер по ssh двумя подключениями одновременно.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Теперь идем в настройки пользователя и добавляем ему способ оповещений через telegram.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Если у вас ранее не работали никакие уведомления, то не забудьте активировать Действия.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

У нас все настроено для отправки оповещений в telegram. Добейтесь срабатывания триггера и проверяйте телеграм канал, в который настроили отправку сообщений.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Все работает. Если вам достаточно такого функционала, то можно оставлять и пользоваться. Но как по мне, так бледновато эти уведомления выглядят. Можно немного шаблоны изменить, чтобы было более читаемо. Так же есть возможность все настроить более красиво и наглядно, да еще и с графиками. Дальше я расскажу еще 2 разных способа отправки уведомлений из zabbix в telegram с графиками и готовыми ссылками на события.

Настройка zabbix на отправку графиков в telegram

Для отправки графиков в telegram предлагаю воспользоваться известным скриптом на питоне — https://github.com/ableev/Zabbix-in-Telegram. Пользуясь случаем, передаю благодарность автору за его создание. Копируем исходники себе.

Нам нужно будет установить несколько модулей python, перечисленные в requirements.txt. Для этого нам понадобится pip. Ставим его и модули.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Копируем в директорию /usr/lib/zabbix/alertscripts файлы zbxtg.py и zbxtg_settings.example.py из скачанного с github проекта. Последний переименовываем в zbxtg_settings.py. Назначаем пользователя zabbix владельцем этих файлов.

Приводим содержимое zbxtg_settings.py примерно к такому виду.

Жирным я выделил те параметры, что нужно поменять. Вам необходимо указать token от бота, который мы ранее создавали, полный url адреса сервера с zabbix. Обратите внимание на этот урл. Не факт, что у вас по localhost/zabbix/ будет открываться web интерфейс Zabbix. Это зависит от настроек Web сервера. Лично я указал просто http://localhost. Дальше указываете учетную запись мониторинга. Лучше всего сделать отдельную учетку с доступом только на чтение. Она нужна для получения графиков. И в конце нужно будет указать параметры доступа к базе данных заббикса. При желании, можете и иконки emoji изменить. Я меняю местами PROBLEM и WARNING. Желтый треугольник на проблемах смотрится более наглядно.

Сохраняем конфиг и проверяем работу скрипта. Если вы только создали бота, то не забудьте ему написать личное сообщение, для настройки персональных сообщений, либо из группы, чтобы он мог слать оповещения в группу. Если этого не сделать, получите ошибку.

Проверим из консоли работу скрипта.

В личку телеграма должно прийти тестовое сообщение. Если получите ошибку на тему того, что python не найдет, то поменяйте в файле zbxtg.py в самой первой строке python на python3 или создайте символьную ссылку.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360А в консоли появится примерно такой вывод.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

То же самое проделаем с группой.

Если все в порядке, двигаемся дальше. В случае ошибок, сразу разбирайтесь, в чем может быть проблема.

Идем в web интерфейс и добавляем 2 новых способа оповещений с помощью скрипта. Один для персональных сообщений, второй для групповых. Во втором случае надо добавить ключ —group, все остальное идентичное.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Так же нам нужно настроить шаблоны оповещений. Я предлагаю следующий вариант. Тип сообщений Проблема.

Тема по умолчанию<> :
Сообщение по умолчаниюПоследнее значение: (

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Все остальное понятно по смыслу, так как относится к стандартным макросам zabbix. Вот полный список параметров, которые поддерживает скрипт:

zbxtg;graphsвключает отправку графиков
zbxtg;graphs_period=10800период за который строится график
zbxtg;graphs_width=700ширина графика
zbxtg;graphs_height=300высота графика
zbxtg;itemid:

выбор itemid для графика на основе триггера
zbxtg;title:

заголовок графика
zbxtg;debugвключает режим отладки, некоторая дополнительная информация сохраняется в tmp_dir
zbxtg;channelвключает возможность отправки оповещения в telegram channel
zbxtg;to:username1,username2,username3можно сразу в шаблоне указать, кому будут отправляться оповещения
zbxtg;to_group:Groupто же самое, что выше, только для групп

Для операции восстановления шаблон попроще.

Тема по умолчанию<> :
Сообщение по умолчаниюServer: ()
Описание:
Проблема устранена!
Время устранения проблемы:

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

И для подтверждения.

Тема по умолчанию<> :
Сообщение по умолчанию подтвердил проблему со следующим сообщением:
Текущее состояние проблемы

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Разные оповещения о разных событиях

Далее показываю на примере, как можно слать уведомления в личку и в группу, одновременно и по отдельности, в зависимости от настроенных условий. По каким-то действиям пишем в личку, по каким-то в группу. Достаточно просто сделать 2 отдельных пользователя для этого. Одному настроить в качестве способа оповещений личные сообщения, а второму указать группу. Затем в действиях, указывая, какому пользователю отправлять сообщение, выбирать способы уведомлений.

Перед созданием пользователя надо добавить новую группу и дать ей необходимые права. Вы можете очень гибко этим управлять.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Если учетка техническая, только для оповещений, то доступ к веб интерфейсу можно не делать. Даем ей права доступа на чтение только к группе Zabbix servers, так как будем слать уведомления только по триггерам этого хоста.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Теперь добавляем пользователя и помещаем его в эту группу.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Добавляем ему telegram группу в способы оповещения. Добавлять можно не по id, а по имени группы, так удобнее.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Настраиваем действия. В данном примере я делаю отправку всех уведомлений пользователю Admin, у которого в способах оповещений указана личка telegram. А сообщения по конкретному триггеру Zabbix server: Zabbix agent is not available (for 3m) пользователю tg-group, у которого указана группа telegram.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Думаю, идею вы поняли. Можно очень гибко настроить уведомления в Zabbix и это очень круто и удобно. И работает из коробки. Проверим теперь, как будут выглядеть оповещения в telegram. Останавливаем на сервере zabbix-agent и ждем работы триггера с оповещениями.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Проверяем телеграм и видим там одинаковые уведомления и в группе, и в личке.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

После обновления проблемы или закрытия, придут свои оповещения.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

При этом, если сработает любой другой триггер, уведомление придет только в личку. В группу ничего не будет отправлено.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Шаблоны и графики в уведомлениях можете настраивать по своему вкусу. Обращаю внимание на графики. Они приходят в отдельных сообщениях. Далее я покажу еще один скрипт для уведомлений в telegram. Он немного по-другому работает — прикрепляет сразу ссылки на историю и триггер, а так же вкладывает графики в то же сообщение, что и текст.

Если у вас возникают ошибки с отправкой графиков, то проверить их работу можно в консоли. Вот пример запроса.

Это нормальный вывод ошибки, которая указывает на то, что выбран itemid 23301, которого либо не существует, либо к нему нет доступа, либо для него нет графика. Если выбрать правильный itemid, то после выполнения скрипта никакого вывода не будет, а в телеграм будет отправлен выбранный график.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Оповещения в telegram со ссылками на график и триггер

Расскажу про еще один интересный скрипт для отправки красивых и функциональных оповещений в telegram, в котором помимо всего прочего сразу же публикуются ссылки на триггер, график и некоторые другие полезности. Вот он на гитхабе — https://github.com/xxsokolov/Zabbix-Notification-Telegram. Инструкция от автора в некоторых местах не очень понятная, так что я немного повозился, прежде чем все получилось. В основном c xml были проблемы, но обо всем по порядку.

Клонируем к себе репозиторий.

Копируем в /usr/lib/zabbix/alertscripts папку zbxTelegram_files и файлы _config.yml, zbxTelegram.py, .requirements и zbxTelegram_config.example.py. Последний переименовываем в zbxTelegram_config.py.

Делаем пользователя zabbix владельцем этих файлов и разрешаем исполнение скрипта.

Автор скрипта предлагает запускать его в виртуальном окружении, поэтому поставим пакет virtualenv.

Переходим в /usr/lib/zabbix/alertscripts, создаем виртуальное окружение и активируем его.

Ставим зависимости и деактивируем окружение.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Редактируем конфигурационный файл zbxTelegram_config.py. Список параметров, которые нужно поменять.

В url на конце должен обязательно быть слеш. Дальше делаем все то же самое, что и ранее. Идем в Способы оповещений и добавляем новый тип, где в качестве скрипта указываем zbxTelegram.py.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Шаблоны тем сообщений можете настроить как вам больше нравится. Автор предлагает такие:

В поле Сообщение копируется xml конфиг полностью, который приведен в файле actions.example. Копируйте его 1 в 1.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Во все шаблоны можете его вставить без изменений. Я немного попытался его править, но каждый раз потом получал ошибку парсинга xml. В итоге бросил. Автор перечисляет значение каждого парметра, так что можете попытаться настроишь шаблоны на свой вкус.

Проверим работу уведомлений. Сначала через консоль.

В данном случае слова test менять нельзя. Именно они инициируют отправку тестового сообщения. Вот как оно выглядит.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

То же самое можно сделать через web интерфейс.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Если все в порядке, подключайте данный тип уведомлений к пользователю, указывайте его в действиях и проверяйте. Уже не буду это подробоно описывать, так как устал. Материал и так очень объемный получился. В итоге уведомления в телеграме от этого скрипта будут выглядеть вот так:

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Текст более информативен по дефолту и выглядит приятнее, графики в одном сообщении с текстом. В последней строке есть готовые ссылки на триггер, историю по итему. Только имейте ввиду, что url для ссылок берется из конфига и если у вас там указан localhost, то только с него и можно будет их посмотреть. Так что указывайте внешний, а не локальный url. Из минусов отмечу тоненькие графики без заливки. В скрипте от ableev они более наглядные.

Заключение

Теперь у нас zabbix работает современно, модно, молодежно 🙂 Использует telegram для отправки оповещений с графиками, ссылками и т.д. Функционал удобный и настраивается достаточно просто. У меня практически не было затруднений, когда разбирал тему. Беру себе на вооружение и использую по необходимости. Хотя сам не люблю оповещения в телеграме, и чаще всего их отключаю, как и от остальных программ. Не нравится, когда меня в каждую минуту могут отвлечь какие-то события. Проверка почты раз в 30 минут самая подходящая интенсивность для меня.

Тем не менее, при работе коллектива, оповещения в общую группу могут быть очень удобны. Особенно, если только на мониторинге сидят отдельные люди, в чью задачу входит оперативная реакция на события.

Social Media Image Sizes 2022: Free PDF Cheat Sheet

Updated on: February 24, 2022 by Louise Myers 577 Comments

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Searching for the best social media image sizes?

Since these sizes are ever-changing, it’s tough to find a guide that’s completely correct. So I made one for you – with a free printable cheat sheet!

It’s simple but accurate. Outdated infographics are still widely posted and shared, despite their misinformation.

Here are the optimal, updated social media sizes for visual content, as of February 2022.

Full chart at the end of the post. Log in as a member to get your free printable cheat sheet and templates!

I’ve included ALL essential sizes for Facebook, Pinterest, Instagram, Twitter, LinkedIn, AND YouTube on the chart. You’ll find notes about aspect ratio and maximum file size where known.

TikTok, Tumblr, Tinder, MeWe, and Meetup sizes are listed at the end of this post.

There’s a Table of Contents if you need a quick answer. You’ll find it underneath the important cross-platform considerations below.

Please leave a comment if any need to be corrected. I’ll update as quickly as possible!

The best social media post size

Posting on more than one of the social networks? Don’t drive yourself crazy – use these sizes that work across multiple social media platforms.

Best size for image posts

1200 pixels square is ideal for Facebook and Instagram posts. It also works well for Pinterest and LinkedIn posts – and can work for Twitter, if you keep any type or other critical elements away from the top and bottom of the image.

A reader has noted that LinkedIn sends out square images in emails, so this template will help you optimize LinkedIn image posts across mobile (horizontal), desktop and email (square).

Feel free to download this handy template! Then you can plan how your square images will crop on Twitter and LinkedIn.

Just right-click to save.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

If Pinterest is your main platform, try the optimal 2:3 Pin images on Facebook, as they work there too. In fact, I love the impact these taller images have on Facebook.

You can control how these tall images are cropped to 4:5 for the Instagram feed, but it’s center cropped to square for your IG gallery.

Here’s the handy template for tall social media posts that are optimized for Pinterest Pins. Right-click to save to your hard drive.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Best image size for link share posts

Facebook, Twitter and LinkedIn all recommend 1.91:1 aspect ratio image. Twitter calls out 1200 x 628 pixels, and LinkedIn says 1200 x 627.

Facebook is now saying 1200 x 630, but those 2 or 3 pixels won’t hurt either way. Maybe they’re just trying to round up!

Google Discover recommends minimum 1200 pixel wide images, so this size is a must for all web pages and blog posts you want shared on social.

Social Media Sizes: Table of Contents

Loads of great info on this page!

In a hurry? Click to jump to the section that interests you most.

Facebook Image Sizes 2022

Facebook Cover Photo sizes

There’s a profusion (or confusion) of FB cover photos. Click through to the in-depth articles for details and free templates.

➔ Facebook Page: 820 x 312 pixels on desktop / 640 x 360 mobile | Optimize your Facebook Page cover photo size for both desktop and mobile!

➔ Facebook Group: 1640 x 856 pixels minimum | Optimize your Facebook Group cover photo size for desktop and mobile.

➔ Facebook Event: 1200 x 628 pixels | Optimize your Facebook Event cover photo size for desktop and mobile.

➔ Facebook Profile: 851 x 315 pixels | Optimize your Facebook Profile cover photo size for desktop and mobile.

Want one size for all Facebook cover photos? Use 16:9 proportion and allow for cropping.

This size works perfectly on mobile Pages. You must allow cropping top and bottom on desktop, so don’t place text or other critical elements near the top and bottom.

This proportion works out to: 1200 x 675, 1640 x 923, or 1920 x 1080 pixels. Your choice!

I always recommend going with a larger image for best quality. While FB sometimes specifies minimum sizes required for upload, modern displays have such great resolution that low quality images don’t cut it any more. Go BIG!

And, it must be a static image. There’s no longer an option to use a video as your cover photo.

Other important Facebook image sizes

For more details, see the linked posts.

➔ Facebook Profile photo size: displays 170 x 170 pixels on Page | Make the best Facebook Profile Picture size plus ideas to get more likes. Download a FREE template there!

➔ Facebook Link preview size: min. 600 x 315 pixels | How to get a LARGE Facebook link thumbnail.

➔ Facebook Photo post size: on the wall, 476 pixels wide x varied height, larger gives better quality.

Re minimum wall post size, I hope you are using larger photos than minimum already! Up to 2048 x 2048 pixels works for Facebook photo posts.

Want more about Facebook image quality, file types, compression etc?

Every Facebook image size marketers need

Yes, there’s more!

Find details about round profile pictures, video sizes, Stories, Page services, and job postings.

Plus an infographic of ALL Facebook ad sizes!

Pin the Facebook image sizes cheat sheet, and read on.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Pinterest Image Sizes 2022

New Pinterest profile covers can be an image or a video in 16:9 aspect ratio.

Recommended for retina display: 1440 x 810 pixels.

Any horizontal photo can be easily cropped to fit the 16:9 ratio after uploading it.

Keep it simple. I wouldn’t use a YouTube video with a lot going on. A photo slideshow works well!

Remember, the main attraction should be your Pins, and that profile videos will play on mute when your profile loads.

Note: If you upload a cover image or video, you can no longer revert to the collage of Pins.

Pinterest profile cover specs:

Images: 16:9 aspect ratio high resolution JPG, PNG, or GIF up to 10MB.

Videos: 16:9 aspect ratio MOV or MP4 up to 2GB and 5 minutes.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360NEW Pinterest profile covers rolled out in 2020. Use a 16:9 image. No more videos!

Pin size 2022: 1000 x 1500 pixels.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

You can go wider if you wish, but keep your Pin dimensions in these proportions:

Get more Pin size details, plus how to keep your website loading quickly with large images, at this in-depth article.

Pinterest board covers: Pinterest continues to de-emphasize boards by removing the Showcase feature and the Boards page (though you can still see boards on the “Saved” tab).

If you really want ’em though, make ’em SQUARE and at least 340 x 340 pixels. 600 or even 1000 pixels square would be better.

➔ Pinterest Profile Photo size: 180 x 180 or larger.

➔ Maximum Pin width when clicked: varies by device viewed on.

➔ Board cover: suggested minimum 340 x 340.

➔ Minimum image size that can be pinned: 100 x 200 (I can no longer verify this).

Pin the Pinterest image sizes cheat sheet, and read on.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Instagram Image Sizes 2022

Instagram posts are no longer limited to square! However, your images will still be cropped to square on your profile page gallery.

➔ Instagram Profile Photo size: 110 x 110 minimum | Rock your IG profile photo

➔ Instagram photo size: minimum 1080 width for best quality

➔ Instagram landscape photo size: 1.91:1 proportion, or 1080 x 566.

➔ Instagram portrait photo size: 4:5 proportion, or 1080 x 1350.

➔ Instagram Stories OR Reels size: 9:16 proportion, or 1080 x 1920.

Pin the Instagram image sizes cheat sheet, and read on.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Twitter Image Sizes 2022

The infuriating Twitter header that could crop 100 different ways became one standard shape and size on every device and browser width (August 2019). It’s no longer responsive but stays at a static aspect ratio of 3:1.

Tweeted image size changed in 2017. Even in 2022, it’s still quoted incorrectly almost everywhere. Read on for the straight scoop.

What does Twitter say about image sizes?

➔ Twitter Header size: 3:1 or 1500 x 500 pixels | Twitter header free template

➔ Twitter Profile size: 1:1 or 400 x 400 pixels

➔ Tweeted Image size: 16:9 or 1200 x 675 pixels

➔ Twitter Card image size: 1.91:1 or 1200 x 628 pixels

Tweeted images are not 2:1 proportion! If you post that size, the edges will be cut off in the stream.

Tweet images will still be shown in full when clicked, so you can use square for portability across social media networks – but they’ll be cropped in the feed on mobile.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Multi-image tweet sizes

Pin the Twitter image sizes cheat sheet, and read on.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

LinkedIn Image Sizes 2022

LinkedIn Page cover image size

Updated January 2020. “LinkedIn Pages” were formerly called “Company Pages”.

According to LI, “LinkedIn Pages are the next generation of LinkedIn Company Pages. Pages have been rebuilt from the ground up…” source

BUT LinkedIn themselves were still calling out the OLD (wrong) size for the NEW Page cover image in their help documentation!

When you go to your Page to upload this banner, you’ll see the right size recommended: 1,128 x 191 pixels.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

Since the cover image actually displays larger than 1,128 wide on retina screens, I recommend you double those pixels for a nice, high-resolution image.

I created a test image at 2,256 x 382 pixels and share the results below.

This slim image is almost 6 times as wide as tall. But on iPad, it’s cut at the bottom to a slice that’s 10 times as wide as tall!

Account for the overlapping logo, which takes a big chunk out on iPhone display, and you’re left with a sliver of an image that leaves little room to design anything.

Unfortunately, you’ll have to create something and test it on different devices if it has critical elements that need to show. Or else think of it as more of a “background” image that doesn’t have faces, type, or other elements that would look bad when cropped on different devices.

What LinkedIn recommends:

Your cover image may have to be adjusted to fit the screen which may involve trimming the image horizontally or vertically. We recommend uploading a high-quality image with as little text as possible to ensure an optimal display on all devices and screen sizes. Our accepted image formats for uploads are PNG or JPEG.

You do have some ability to move this cover photo around when you upload.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360Beware the LinkedIn Page cover image cropping and logo overlay on various views.

LinkedIn Personal Profile

Those maddening responsive background images (banner / cover photo) on personal profiles were dumped in August 2017. The new recommended size is 1584 wide by 396 high. This is exactly 4:1 proportion.

You can also crop, filter, and adjust your photo after you upload it to LinkedIn.

If your background image appears blurry or pixelated, please choose an image with a file size as close to the maximum (8 MB) as possible, as images with larger file sizes typically look better. Photos will also look better than images with logos.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

LinkedIn link share images

Sharing links to articles and blog posts on LinkedIn?

Whether for your profile or Page, “Link share” images for LinkedIn closely match those for Facebook and Twitter.

1.91:1 is the correct aspect ratio. LinkedIn says:

When adding custom images to a Page update with a URL, please keep the following image display guidelines in mind:

LinkedIn post image size

This one’s a bit tricky. 1200 x 1200 square looks best on desktop, but gets cropped to horizontal in the mobile feed. The link share size works best there.

I prefer square for portability across social platforms. A reader has noted that LinkedIn sends out square images in emails, so the template near the top of this article will help you optimize LinkedIn image posts across mobile (horizontal), desktop and email (square).

LinkedIn image recap

Max file size 8MB and file type must be PNG, JPEG, or GIF.

➔ LinkedIn profile cover photo: 1584 wide by 396 high. This is exactly 4:1 proportion.

➔ LinkedIn profile picture: Per LI, upload any size between 400 x 400 pixels and 20,000 x 20,000 px.

➔ LinkedIn blog post link shares: 1200 x 627 px.

➔ LinkedIn photo share: 1200 x 1200 square looks best on desktop, allow for cropping to 1200 x 627 on mobile.

➔ LinkedIn Page cover photo size: 1,128 x 191 px.

➔ LinkedIn logo size: 300 x 300 square. No more horizontal.

More company and career page image sizes on LinkedIn here.

Pin the LinkedIn image sizes cheat sheet, and read on.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

YouTube Image Sizes

➔ YouTube channel art: 2560 x 1440 pixels | Learn how to create YouTube Channel Art with FREE templates

➔ Be sure to grab the template as cropping varies wildly from TV to mobile to desktop.

➔ Video thumbnail: 1280 x 720 pixels

➔ Channel icon: 800 x 800 pixels

TikTok image sizes 2022

Videos will be in a standard 9:16 shape (be sure to film with the phone vertical).

Shorter ones, down to square size, are accepted but will have a black border top and bottom.

If you’re making graphics for a slideshow, use the IG Stories size of 1080 x 1920.

Leave a 150px margin on top and bottom and 64px margin on each side for TikTok text overlay.

➔ TikTok profile picture size: 200 x 200. JPG, PNG. Minimum size is 20 x 20.

➔ TikTok video size:1080 x 1920. File size: 287.6 MB (iOS) and 72 MB (Android). MP4, MOV.

➔ TikTok video ads size: 720 x 1280px / 640x640px / 1280 x 720px. File size: 500 MB. MP4, MOV, MPEG, 3GP, AVI.

Tumblr image sizes

It’s hard to find image sizes for this platform, and one reason may be that it’s pretty freeform. Different themes can vary greatly.

I don’t use Tumblr and decided not to add it to the cheat sheet, since I won’t know if things change.

Here’s an excellent Tumblr sizes overview offered by reader Morgana Johnson:

Although all themes are different, the most common sizes still display 500 and 400 width posts (and most “photography” themes either display everything with a width of 1280, or even the highest resolution available).

Anyone using tumblr as a portfolio would have the best experience, and largest variety of themes to choose from, if they create images with a width of 500 or 400. However, those who plan to market themselves and gain a following on tumblr should create images meant to be displayed at 540. Those particular users should also pay close attention to the following new feature:

Tumblr has implemented a “dashboard pop-over” with a header, which works both as a mobile theme and allows desktop users to have a quick glance at a blog without leaving the dashboard. The header displays at “various sizes” with an aspect ratio of 16:9. Generally, it displays at 1240 x 700 for desktop browsers, but is optimized at 640 × 360 for mobile.

(It can also display animated gif images with the same size restrictions as posts. From my personal experience, however, I can’t get any header to animate if it’s larger than 1.5MB.)

It’s also worth noting that users who choose to keep the default theme show the same header at 3000 x 1055 on their blog, and displays posts with a width of 540.

Tinder Photo Sizes

Nope, I don’t use Tinder, but due to the popularity of this article, Google is sending searchers here for Tinder photo dimensions.

Not one to disappoint, I’m including them for you!

Tinder requires photos be cropped to square for upload.

According to Photofeeler, on an iPhone 6, the required Tinder pixel dimensions are 640 x 640.

In the swiping deck, however, this will be zoomed into and displayed at 600 x 848 pixels. This aspect ratio is 1:1.325, or 7:10.

The exact number of pixels will vary by the viewer’s device.

My suggestion is to start with a photo where your face doesn’t fill the square from side to side, since you can anticipate those sides being cropped off in the swiping deck.

And don’t use a photo where your face is way off to one side, as you’ll lose part of your face in the swiping deck.

Or, you can use an app like Square Instapic that will add borders to the sides of your portrait-shaped portrait to make it a square.

BTW, 8 x 10 is the standard portrait shape. So not exactly Tinder’s 7 x 10, but close. 🙂

Wondering how to get a picture to fit Tinder? This template will help.

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360Here’s how your Tinder image crops on the swiping deck.

MeWe image sizes

MeWe provides limited info on the best image sizes for their platform.

The optimal banner/cover photo size is called out as 945 x 320 px. This is approximately 3 times wider than tall.

For the optimal profile photo, they suggest 144 x 144 px. If you have a larger image, I don’t think you must size it down to this dimension. MeWe will reduce it to the proper display size. source

As far as posts, MeWe tells us that you can safely share photos, videos, documents, voice messages, Dual-Camera MeWe’s chats, GIFs, memes, doodles, disappearing content, stories, and much more – but they don’t clue us in on best sizes.

Save time and repurpose content from other networks you use.

The maximum file size you can upload is 500MB, whether you have a paid account or not. This applies to videos, photos, documents, audio files, and anything else you might choose to upload.

If you have any tips for MeWe images, please leave a comment!

Meetup image sizes

A reader suggested this, and after a moment’s thought, I had to agree:

What could be more social than a platform to meet up IRL?

Meetup is all about groups and their events. Of course, you’ll also have a profile photo. You can set one for your account profile and different ones for your groups, if you like.

Your account profile photo will be used by default for your group profiles. After a group profile photo is set, changing your account profile photo will not update your group profile.

You can update each of your group profile photos individually.

Meetup profile photos are 1:1 ratio. For example, a square 400 pixels high by 400 pixels wide photo will work. Or any size JPG or PNG, as long as the file is under 10MB.

Meetup group logos are the same, with 400 x 400 recommended.

Meetup group cover photos are an easy way to differentiate your group and attract potential members.

Use a photo in JPG, PNG, or non-animated GIF format with a 16:9 ratio. The ideal dimensions for a group cover photo are 600 x 338. The file size limit is 10MB.

If you’re setting your cover photo for the first time, you must set it from your computer.

Sponsor logo image dimensions are 120 x 90.

Meetup event page featured photo is ideally 580 x 320. Just be sure to feature a horizontal shot for best impact.

A Meetup event photo album is a crowdsourced memory bank for a group.

When an event is scheduled a photo album is created automatically. Group organizers, co-organizers, and assistant organizers can create new photo albums from the Photos section of the group as well. All members can upload photos to an album but cannot create a new album. source

The only requirement here is that event photos be JPG or PNG format and under 10MB each.

How do I get images to these sizes?

Q: Do you have recommendation for how to get photos these desired image sizes? I am using iPhoto and I am not getting exact dimensions you describe.

A: You could use a free online photo editor like Pixlr. Alternatively, you can use an online image creator that has lots of sizes already set up for you!

The two easiest ones I’ve found are Stencil and Snappa. Choose a size template, pick or upload a photo, and it’s automatically sized to fit. Adjust cropping as desired.

Both have a free option or free trial. The paid plans have an amazing Instant Resize feature, so you can make perfectly-sizes images for every network! Watch it on Stencil below.

Disclosure: If you upgrade to a paid account, I may earn a small commission, at no cost to you. I only recommend what I’ve tried, and think you’ll love!

Social Media Cheat Sheet 2022: Conclusion

Now that you’ve got the sizes – what images should you post? I’ve got you covered there too!

I hope you find my cheat sheets helpful. Let me know if your experience differs.

Members: download a printable version by logging in (Or get a free membership here.)

You’ll find lots of free social media templates in the member library, too. Win-win 🙂

Help battle the misinformation being passed around. Size does matter!

You can find more image sizes in these articles:

Pin or tweet to share this complete updated social media image sizes cheat sheet with your friends and followers. Thanks!

Sorry the image dimensions are invalid must be 640x360. Смотреть фото Sorry the image dimensions are invalid must be 640x360. Смотреть картинку Sorry the image dimensions are invalid must be 640x360. Картинка про Sorry the image dimensions are invalid must be 640x360. Фото Sorry the image dimensions are invalid must be 640x360

About Louise Myers

Louise Myers is a graphic design expert whose designs have been featured by Disney, Macy’s, WalMart and more. Her straightforward writing style empowers small business owners to make their own graphics for social media success!

Comments

Thank you so much for sharing. As a new graphic designer, I am always looking for the various image sizes to make sure I get it right. This social media cheat sheet is a godsend. Info for all popular social media platforms right in one place. Thanks you are awesome.

Louise Myers says

So glad it helped!

Louise – thank you so much for this post. I do have a question about LinkedIn image sizes. I’ve noticed that when LinkedIn sends out engagement emails, they are cropping our post images (which are sized 1200 x 628) to a square aspect ratio. I’m wondering if it would be best practice to make all LinkedIn post images square (1200 x 1200) but keep to necessary content positioned in that 1200 x 628 rectangle in the middle for cropping on mobile. What do you think?

Louise Myers says

That’s not a bad idea for cross-platform compatibility, anyway. It’s interesting that they send square images in emails! I don’t get these, and I’m semi-doubtful that many people get them, read them, and have images turned on. But still could be an opportunity for better visual marketing to the people who do.

I am being told that Face book no longer allows FB cover photos to be video ( June 2021) true?

Louise Myers says

Apparently the loss of this feature has been rolling out, with some people reporting it a year ago. So sad.

Not sure if this has been previous talked about, but it’s something I recently noticed when using the facebook android app. Data saver is the default option when not using wifi and I doubt many people actually change this. If enabled, all link images appear small, no matter what the size. It also shows “This post may look different because Data Saver is on) when you click the little icon that appears only when data saver is on. This affects all links, including ads.

I don’t recall seeing this before, but it’s been awhile since I’ve used facebook on an android device while not on wifi. Was there an update the past

6 months or has it always been this way?

Louise Myers says

I didn’t know this, so thanks for sharing.

Nigel Willmott says

I am trying to find the optimal dimensions for posting a GIF on facebook, NOT the maximum MB size, but what the proportions should be. In other words, should it be square, or landscape? I can find no information about this on the web at all.

I would appreciate any help you can offer

Louise Myers says

It would be the same as any image or video post, which is virtually any size you want. FB says the ideal width for images is 1200, but almost anything goes. In my experience, they can be horizontal, square, or up to 2:3 tall without getting cropped. If planning to use it elsewhere, make it’s the optimum shape for that platform and it should work fine on FB.

Naim islam says

Images are a very important thing on social media.
Many people don’t know the proper image sizes of different social media. When we are going to upload images on social media, then it is important for all of us to know the proper image size. Thank you for sharing your informative blog.
Since this post is so old now has there been any change in the image size of social media?

Louise Myers says

I know things change quickly in social media, but this post is less than 11 months old 🙂

It will be completely checked and updated in the next month but the things I’ve checked so far haven’t changed much at all. You can click through to the linked Facebook articles. They’ve all been updated for 2021.

The only thing I’m aware of that’s completely new is that Pinterest has added a cover photo. Other than that, the social media platforms have calmed down with their constant image size changes.

Rather than an ‘optimizer’ approach (tinkering with pixels to create a custom image for each of the several platforms I want to use) I’m much more interested in a ‘satisficing’ approach (using a single image with dimensions and inner margins to be Good Enough).

I’d love to see a post on that!

Louise Myers says

It’s a great idea. I do still recommend the 1200 square for posts across platforms. But it’s barely “good enough” since Pinterest prefers tall and Twitter only shows 2×1 wide.

Louise Myers says

BTW if you go to the post on social media image aspect ratio you can see which sizes cross platforms best. Not exactly what you’re looking for since nothing works on all platforms, but should help.

Larry Bradley says

Don’t have time to read all the comments, so this might be a duplicate. At any rate, MeWe banner/photo dimensions can be found here.
support.mewe.com/hc/en-us/articles/360042169733-What-are-the-correct-profile-photo-and-banner-photo-dimensions-

Louise Myers says

MARK ANDERSEN says

Hi Louise
I was just wondering if these pixel sizes need to be updated to reflect the recent changes in facebook that occurred after midyear 2020, or did the sizes remain the same?

Louise Myers says

I believe they stayed the same with only the profile picture moving. Unfortunately I still don’t have New Facebook!

Louise, you can choose to migrate to the new Facebook by choosing that option in the settings menu next to the messenger icon on the desktop version.

Louise Myers says

I’ve seen that advice for months but I still don’t have the option. Thanks for trying though!

Louise Myers says

I wanna use 1200×1200, then what orientation i should use? Portrait or landscape? Thanks

Louise Myers says

It’s neither since it’s square.

I noticed mine and many FB friends cover photos are looking a little wonky as of late… maybe Facebook changed the cover size yet again? Any insight Louis?

Louise Myers says

Have you switched to “New Facebook”? It started rolling out a few months ago but I don’t have access to it. If you change, everything *you* look at in FB will have the new layout. But I still see the old layout.

Hi Louise, what’s the size of a Linkedin Story? The same as Instagram Stories?

Louise Myers says

LI Stories are only available in test markets and not in the US, so I haven’t seen them. But I would assume it’s the same as IG.

Do you have any suggestions for how to improve the quality for LinkedIn posts? Every time I share an update on our company page, LinkedIn distorts the image and makes it blurry. I’m exporting from Photoshop at the highest setting, so not sure what else to try to get the images to look higher quality.

Louise Myers says

Unfortunately I can’t find ANY advice on this! But here’s what I would try and would love to know if it works.

    Use PNG-24.
    Upload largest possible image, in correct proportions, that doesn’t exceed the file size maximum.
    Upload from computer, not mobile.

Could you possibly add MeWe image dimensions to this list please? It would be so awesome! I’m sure a lot of us would appreciate it, too! Thanks tons!

Louise Myers says

Hi Rio, the short blurb at the end of the article about MeWe dimensions is all that exists, as far as I could find. If you know anything else, pass it along and I’ll be happy to add it!

Thanks so much for all of this information. Since I read dozens of studies in medical journals each week, I’m going to do a daily infographic made up of 3 brief sentences which summarizes one of the studies that I think people will find interesting. I assume a good compromise in sizes/shapes would be:

Instagram, Facebook, LinkedIn: 1200 x 1200
Pinterest: 1000 x 1500
Twitter: 1200×672

Does this seem like a decent approach to you? I wish I could use the square post for Twitter, but there seems to be a cropping issue with that. Also, if the process eats up too much time, I’ll use the 1200 x 1200 square for Pinterest and ditch 1000 x 1500.)

Thanks again,
Paul

Louise Myers says

Yes, the sizes seem fine. I personally would put 1 sentence per graphic and keep it simple.

Not sure of your background or what you plan to link these to, but be aware that Pinterest and I believe FB (maybe others too) are taking steps to suppress medical info being posted by non-medical experts.

And definitely Google search results have been doing this for awhile, if that’s a concern.

Just an FYI as I ran into this today!

After changing on November 27, Facebook changed cropping on mobile again in early December 2019. You can simply use 1,640px by 859px, or 1.91:1 ratio, which will work fine on both phones and tablets. Facebook no longer places text overlay across the bottom on mobile.

But, you need to allow allow cropping for both top and bottom on desktop. Facebook isn’t allowing full control over the cropping on desktop. A portion of the top and bottom will be cropped. To prevent your image from being cropped while viewing via desktop, set a margin of 96px for both the top and bottom while still using the 1640x859px image size. Nothing will be cropped when viewing on desktop as long as you have what you want to appear on the Group Cover Photo within the top and bottom margin of 96px.

Just thought I’d pass it along 🙂

Louise Myers says

The text you pasted here is taken directly from my article on Facebook group cover photos.

It’s already linked in the FB section above for those wanting more details.

Dave Mahen says

Love teh page you have created. Now it’s my go-to page for reference on mage sizes. Thanks!

This is a fantastic resource, however the LinkedIn 2020 cheat sheet shows the company cover image dimensions as 1536 x 736, but in the text right above the cheat sheet you mention the Page cover size is 1128 x 191. The spec as quoted by LinkedIn (which you mention is wrong) is 1536 x 736. Does the cheat sheet need updating to show the ‘new’ 1128 x 191 dimensions? I’m confused, and my client says I keep getting it wrong 🙁

Louise Myers says

Yes, the cheat sheet itself hasn’t been updated yet. Next week!

Christopher Benoit says

Louise, dear, I’ve been a fan for the last three years. THANK YOU for a) posting all of this fabulous information in one place and b) keeping it so thoroughly updated. You are truly enabling small business owners! I do have a question, which no one else seems to have, so forgive me if the answer should be obvious. Could I trouble you to explain the difference between “image posts” and “link posts”? For context, my wife is a food blogger so her social media content is virtually entirely site-based, or maybe site-sourced would be more accurate. Thus, she does not create separate images for social “feeds” per se (i.e., we do create images for platform/account profiles, banners, etc.) Does that make all of her social media posts “link posts”? Thank you in advance. I’m amazed you reply to every comment!

Louise Myers says

By “link posts” or “link shares” I mean using the social platform’s feature to link to a URL. When you do this, the platform ONLY allows that one specific image shape (which fortunately is the same across FB LI and Twitter).

Kristin Burton says

The facebook group photo size listed here does not actually work. Even though that is the size listed everywhere, if you create an image that size, it cuts off. I wish someone could post the actual correct size.

Louise Myers says

Did you read the linked article on Facebook group photo size and grab the free template?

Yes, it cuts off on desktop, as shown on the template.

If this isn’t working for you, please send me screenshots, and I’ll try to help. I just tested it 2 weeks ago and it worked for me.

This is a very useful resource. Thank you for putting this together and sharing.

Do you have any recommendations for Bloggers using WordPress? In particular, if there’s an optimal size to use to be able to display on big 27” Retina displays?

I’m just starting out and trying to understand this before I go off and optimize all my images prior to using.

Thank you,
Michael

Louise Myers says

Each WP theme has its own optimal size. I recommend sizing photos to your theme’s content area width before uploading.

And, I recommend NOT optimizing for retina. For website images, the main thing to optimize is small file sizes that load fast.

Google hates slow loading sites, and they rule as far as sending you traffic.

That is a perfect reply. Also, there are some plugins that will help you optimize your image sizes. Something, else, some themes come with will optimize images specific to that theme

Great article. Thank you for the recommendations.

I am looking for one image size to post on Instagram, Facebook, LinkedIn, and Twitter.

Your recommendation of 1200 x 1200 works on all the platforms but Twitter. The Twitter feed crops the picture a lot.

Any recommendations are appreciated for the one image size for the four platforms.

Louise Myers says

There’s no one size that actually works *ideally* on all platforms.

If Twitter is the most important one for you, you’d have to use the one and only image shape they support perfectly for non-ad tweeted images, which is 16:9. Recommended size is 1200×672.

This will crop on the sides on Instagram, and be a lot less eye-catching on FB and LI than a square image.

Wendy Solum says

Hi there. So your post, and others, say that LinkedIn business cover photo s/b 1536×768, but when you go to edit the business cover photo, the online tool recommended size is 1128×191. Waaay different.

Is the business cover photo something other than what I think it is?

Louise Myers says

1536×768 had been called out as the “company cover photo size.”

LinkedIn doesn’t even mention a “Company Page” anymore. I find references to “Page” “Career Page” and “Showcase Page.”

I’m at least as confused as you are at the moment! I’ll have to do more digging to figure this out.

Feel free to let me know which one you were shooting for!

Sherry Ellingson says

Thank you! Having all of this in one info graphic is a great find. Reading all of the comments has been helpful also. I appreciate that your candid and easy to understand posts.

Paula Onysko says

Hi Louise, Thanks for this valuable resource. I share it with my clients and FB group Abundant Soulpreneurs every year. I just noticed that when I shared the URL in the group, FB is still pulling the 2019 image. You may want to update that with the Facebook debugging tool.

Thanks again!
Paula

Louise Myers says

Why does my cover photo look great on my desktop but on mobile – iPad and iPhone it is extremely darkened?

Louise Myers says

Yeah, they’re going a little crazy with that now. They used to just darken a bit at the bottom for the type overlay. Now it’s practically from bottom to top.

I’d love to see Facebook Page image dimensions (since I believe it is different from a personal profile) and Google My Business dimensions added. Thank you for all of your hard work!

Louise Myers says

Hi Susie!
The FB sizes here are for Pages, not profiles.

Great idea on Google My Business, I will add those within a week or two!

Susan Bell says

This is great information. I use Canva and seem to have to adjust files for different media despite using their designated social media templates. I still love canva though. I’ll have to implement the photoshop tips you mentioned for best quality images – also a great lead!

these articles are such bullshit! scrolling thru a page full of blinking ads to find out the info is totally bogus.

Louise Myers says

There’s a table of contents at the top so you can jump to the section of interest, bypassing ads.

I work very hard to keep this info accurate and updated. This takes time and money. Sorry you don’t find it worth seeing a few ads. Thank goodness hundreds of others left appreciative comments so I know my efforts aren’t in vain.

Nancy Wisgerhof says

Thank you so much for your comprehensive information about graphic sizes. This is SO helpful! I am just starting a blog to provide sm graphics for churches and I have cited your cheat sheet – it’s a must-have for any sm specialist.

Louise Myers says

Thanks for the nice comment, Nancy!

Muhammad Amin says

This is extremely helpful! THANK YOU.

Your dimensions for Facebook are very outdated. Now FB encourages squares, like Instagram. 1:1 for post ads AND link ads. Ever since end of 2018 if I recall correctly.

Louise Myers says

These sizes aren’t outdated. Facebook recommends and accepts a wide variety of shapes for posts as well as ads. I only specified a photo post width in this article, and as opposed to saying they *shouldn’t* be square…

I actually recommend squares *first* for posts (see section “Best size for image posts”). However I’d be interested in knowing how they’re “encouraging” squares. Do you find the square format gets more reach?

Haseeb Awan says

Thank you so much for making your cheat sheet available to the social media-challenged such as me! I own a business and I really struggle with consistency in my social media marketing. Thanks again for equipping me with helpful info! Good Luck.

Thanks for your great post. I have a question: Is it okay to use a post’s featured image as social image? Is the image’s size changed?

Louise Myers says

Sure, you can do that. Whether the image size or proportion changes depends on myriad factors like the platform and specific use. You can find out more in the dedicated sections here as well as the separate, in-depth articles.

the 1500 pixel max they show on there, puts top and bottom into a field not always seen but that relation to the profile pic CHANGES with screen size (BEWARE!). SO, at 1500 pixels, my client’s image and logo were fuzzy and I had to resize it to the largest size, not use a cropped area inside the template to figure that out. SO our final banner was 1920 to get it to look crisp on a larger monitor like mine.

Louise Myers says

Thanks for the heads up. I need to redo that template 🙂

Facebook broke something after one of the past android app updates. Links that are not from ads or pages are showing small thumbnails instead of large. They are also badly cropped which has resulted in a steady decrease in traffic. Desktop and mobile web are not affected, not sure about iOS but google analytics stats suggests this is only a problem with the android app.

Louise Myers says

Thanks for letting us know! Hope it’s not the beginning of a larger effort to throttle clicks leading off FB even more.

Probably not, the android app has had several issues from big to small go unnoticed the past few years. The “report a problem” section of the app has proved to be useless, so I’m hoping someone will see this and forward it to whichever team is responsible since there is no way else to contact them.

Louise Myers says

You don’t ever get a reply to “Report a Problem”? Ugh. Sorry to hear of this issue.

Источники:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *