# Quick Question: BitmapPaint

**URL:** <https://forums.solar2d.com/t/quick-question-bitmappaint/348214>\
**Category:** Newbie Questions\
**Created:** [July 29, 2018, 1:52am UTC](https://forums.solar2d.com/t/quick-question-bitmappaint/348214 "2018-07-29T01:52:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dodi\_games](https://forums.solar2d.com/user_avatar/forums.solar2d.com/dodi_games/32/119_2.png) [@dodi\_games](https://forums.solar2d.com/u/dodi_games)\
**Post date:** [July 29, 2018, 1:52am UTC](https://forums.solar2d.com/t/quick-question-bitmappaint/348214/1 "2018-07-29T01:52:59Z")

</div>

I’m going to make newbie “Quick Questions” (QQ) topics for fast answers question some newbies like me have.

I read in the docs but I do not find the answer.

-Does “BitmapPaint” accepts @2x images?

Assuming that I create a 100x100 transparent rect in whatever x, y position and I want to fill it with a 100x100 image that have a 200x200 @2x image.

When Corona require the @2x suffix the rect is going to be filled with the @2x image?

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [July 29, 2018, 4:23am UTC](https://forums.solar2d.com/t/quick-question-bitmappaint/348214/2 "2018-07-29T04:23:39Z")

</div>

I think the answer is yes, but…

All new folks should should get in the habit of figuring out things like this when they can on their own.&nbsp;&nbsp;

You can figure this out experimentally.&nbsp; This is how old experienced developers like me know what we know.

1. Make an app that shows an image.

2. Provide a 1x and 2x image.

3. Ensure the images look differently and you can identify the differences.

4. Set up your config.lua file so there is no choice but to use the 2x image.

5. Build it, install it on your device, run it.

Post your findings back here.

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [July 29, 2018, 4:25am UTC](https://forums.solar2d.com/t/quick-question-bitmappaint/348214/3 "2018-07-29T04:25:26Z")

</div>

Note: I’m not chastising you by the way.&nbsp; I’m trying to help you make that leap from relying on the docs or help to relying on trying it out.

If you’re looking to enter a technical field later in life, this ability to self-solve will serve you very well in getting a job, keeping that job, and getting raises.

---

<div class="post-metadata">

**Author:** ![dodi\_games](https://forums.solar2d.com/user_avatar/forums.solar2d.com/dodi_games/32/119_2.png) [@dodi\_games](https://forums.solar2d.com/u/dodi_games)\
**Post date:** [July 30, 2018, 3:13pm UTC](https://forums.solar2d.com/t/quick-question-bitmappaint/348214/4 "2018-07-30T15:13:03Z")

</div>

The answer is “yes” BitmapPaint use @2x images. I make a test using a black and white image sheet for the @2x and a colored image sheet for the default images set. Setting config.lua to use suffix @2x at app start.

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [July 29, 2018, 4:23am UTC](https://forums.solar2d.com/t/quick-question-bitmappaint/348214/5 "2018-07-29T04:23:39Z")

</div>

I think the answer is yes, but…

All new folks should should get in the habit of figuring out things like this when they can on their own.&nbsp;&nbsp;

You can figure this out experimentally.&nbsp; This is how old experienced developers like me know what we know.

1. Make an app that shows an image.

2. Provide a 1x and 2x image.

3. Ensure the images look differently and you can identify the differences.

4. Set up your config.lua file so there is no choice but to use the 2x image.

5. Build it, install it on your device, run it.

Post your findings back here.

---

<div class="post-metadata">

**Author:** ![roaminggamer](https://forums.solar2d.com/user_avatar/forums.solar2d.com/roaminggamer/32/134_2.png) [@roaminggamer](https://forums.solar2d.com/u/roaminggamer)\
**Post date:** [July 29, 2018, 4:25am UTC](https://forums.solar2d.com/t/quick-question-bitmappaint/348214/6 "2018-07-29T04:25:26Z")

</div>

Note: I’m not chastising you by the way.&nbsp; I’m trying to help you make that leap from relying on the docs or help to relying on trying it out.

If you’re looking to enter a technical field later in life, this ability to self-solve will serve you very well in getting a job, keeping that job, and getting raises.

---

<div class="post-metadata">

**Author:** ![dodi\_games](https://forums.solar2d.com/user_avatar/forums.solar2d.com/dodi_games/32/119_2.png) [@dodi\_games](https://forums.solar2d.com/u/dodi_games)\
**Post date:** [July 30, 2018, 3:13pm UTC](https://forums.solar2d.com/t/quick-question-bitmappaint/348214/7 "2018-07-30T15:13:03Z")

</div>

The answer is “yes” BitmapPaint use @2x images. I make a test using a black and white image sheet for the @2x and a colored image sheet for the default images set. Setting config.lua to use suffix @2x at app start.
